[game-data-packager] 01/01: steam: speed-up identification
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Sun May 31 07:40:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit 2c5a2ac82c81a53bcd96a956f1361093ffe5d35a
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Sun May 31 09:39:38 2015 +0200
steam: speed-up identification
use realpth() to avoid to have to re-hash the same
files several times if there are symlinked directories
---
game_data_packager/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index fb481d3..7402900 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2640,7 +2640,7 @@ class GameData(object):
if os.path.isdir(path):
logger.debug('possible %s found in Steam at %s',
self.shortname, path)
- yield path
+ yield os.path.realpath(path)
def iter_origin_paths(self, packages=None):
if packages is None:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list