[game-data-packager] 01/01: PackagingTask: Realign terminology
Simon McVittie
smcv at debian.org
Mon Dec 4 10:46:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit a0baa489bef1ac893f05299425700e01e5daf4f8
Author: Simon McVittie <smcv at debian.org>
Date: Mon Dec 4 10:46:00 2017 +0000
PackagingTask: Realign terminology
Signed-off-by: Simon McVittie <smcv at debian.org>
---
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 a18b259..0feeed8 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -480,7 +480,7 @@ class PackagingTask(object):
"""
assert package is not None
- extraneous = False
+ deactivated = False
if requested:
logger.debug('Package %s was specifically requested', package.name)
@@ -490,26 +490,26 @@ class PackagingTask(object):
# If the package has activated_by, we don't build it unless
# either: we found one of the distinctive files by which it
# is activated, or the user specifically asked for it.
- extraneous = True
+ deactivated = True
for wanted in package.activated_by_files:
logger.debug('Checking for %s', wanted.name)
if wanted.name in self.found:
logger.debug('... yes')
- extraneous = False
+ deactivated = False
break
else:
for alt in wanted.alternatives:
if alt in self.found:
logger.debug('... yes (%s)', alt.name)
- extraneous = False
+ deactivated = False
break
- if not extraneous:
+ if not deactivated:
break
- if extraneous:
+ if deactivated:
logger.debug(
'No reason found to be interested in %s', package.name)
return FillResult.DEACTIVATED
--
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