[projects/git-slug: 38/170] Remove duplicate positional argument

glen glen at pld-linux.org
Mon Sep 21 21:42:00 CEST 2015


commit e78bca48fd9e57641babecb13c3301d67dbb4bf5
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Wed Sep 21 16:23:39 2011 +0100

    Remove duplicate positional argument

 slug.py | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/slug.py b/slug.py
index eb01802..084539b 100755
--- a/slug.py
+++ b/slug.py
@@ -174,7 +174,6 @@ newpkgsopt = update.add_mutually_exclusive_group()
 newpkgsopt.add_argument('-n', '--newpkgs', help='download packages that do not exist on local side',
         action='store_true')
 newpkgsopt.add_argument('-nn', '--nonewpkgs', help='do not download new packages', dest='newpkgs', action='store_false')
-update.add_argument('repopattern', nargs='*', default = ['*'])
 update.set_defaults(func=fetch_packages, omitexisting=False)
 
 init = subparsers.add_parser('init', help='init new repository', parents=[common_options],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5



More information about the pld-cvs-commit mailing list