[game-data-packager] 01/02: strip '?version' from default install_as

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Oct 4 19:32:44 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 ee73844979617c169f5c991dd3730b4c03008ff3
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Oct 4 21:31:17 2015 +0200

    strip '?version' from default install_as
---
 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 1e48b7e..e5cc0de 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -54,7 +54,7 @@ class WantedFile(HashedFile):
         self.distinctive_name = True
         self.distinctive_size = False
         self.download = None
-        self.install_as = name
+        self.install_as = name.split('?')[0]
         self.install_to = None
         self.license = False
         self._look_for = []

-- 
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