[game-data-packager] 01/01: make run_command_line() distro-agnostic
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Fri Apr 14 21:49:23 UTC 2017
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 234a5a9735d7128e281f19ff6cfb2b2d9375cdb0
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Fri Apr 14 23:48:05 2017 +0200
make run_command_line() distro-agnostic
---
game_data_packager/build.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 8e11a76..6ef6848 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1646,18 +1646,18 @@ class PackagingTask(object):
else:
destination = args.destination
- debs = self.build_packages(ready,
+ pkgs = self.build_packages(ready,
compress=getattr(args, 'compress', True),
destination=destination)
rm_rf(os.path.join(self.get_workdir(), 'tmp'))
if preserve:
- for deb in debs:
- print('generated "%s"' % os.path.abspath(deb))
+ for pkg in pkgs:
+ print('generated "%s"' % os.path.abspath(pkg))
if install:
- self.packaging.install_packages(debs, method=args.install_method,
+ self.packaging.install_packages(pkgs, method=args.install_method,
gain_root=args.gain_root_command)
@@ -1683,8 +1683,8 @@ class PackagingTask(object):
if logger.isEnabledFor(logging.DEBUG) and which(self.packaging.CHECK_CMD):
print('Now running %s...' % self.packaging.CHECK_CMD.title())
- for deb in debs:
- subprocess.call([self.packaging.CHECK_CMD, deb])
+ for pkg in pkgs:
+ subprocess.call([self.packaging.CHECK_CMD, pkg])
def rip_cd(self, package):
cd_device = self.cd_device
--
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