[game-data-packager] 01/02: fix default = "--search" regression

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Sep 8 18:09:00 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 729707db343d6990f4f41f8d5a9dab88e1a8b72f
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Sep 8 20:03:53 2015 +0200

    fix default = "--search" regression
---
 game_data_packager/__init__.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 1678cdc..054d875 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -2387,7 +2387,7 @@ class GameData(object):
                 **kwargs)
 
         group = parser.add_mutually_exclusive_group()
-        group.add_argument('--search', action='store_true',
+        group.add_argument('--search', action='store_true', default=True,
             help='look for installed files in Steam and other likely places ' +
                 '(default)')
         group.add_argument('--no-search', action='store_false',
@@ -3231,7 +3231,6 @@ def run_command_line():
             install=False,
             packages=[],
             save_downloads=None,
-            search=True,
             shortname=None,
     )
     if config['install']:

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