aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-07-03 00:22:48 +0300
committerPriit Laes <plaes@plaes.org>2010-07-03 00:22:48 +0300
commite4e4f0eff5c290303bbfa40474dd117eacd67f70 (patch)
tree1f84e8cb24f536dffe36edfa9e5fc1133622be39 /utils
parentMake package moves "atomic" (diff)
downloadgsoc2010-grumpy-e4e4f0eff5c290303bbfa40474dd117eacd67f70.tar.gz
gsoc2010-grumpy-e4e4f0eff5c290303bbfa40474dd117eacd67f70.tar.bz2
gsoc2010-grumpy-e4e4f0eff5c290303bbfa40474dd117eacd67f70.zip
Remove now unused --initial-sync option
Diffstat (limited to 'utils')
-rwxr-xr-xutils/grumpy_sync.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/grumpy_sync.py b/utils/grumpy_sync.py
index 2f883da..025e81d 100755
--- a/utils/grumpy_sync.py
+++ b/utils/grumpy_sync.py
@@ -22,7 +22,7 @@ from grumpy.models import (Category, Developer, Ebuild, Herd, \
UPDATE_DB_KEY = 'updates_info'
-def main(path, initial_sync):
+def main(path):
# pkgcore part to fetch all the ebuild information
conf = load_config()
eclass_cache = conf.eclass_cache['eclass stack']
@@ -260,10 +260,8 @@ def main(path, initial_sync):
if __name__ == '__main__':
parser = OptionParser(usage="usage: %prog [options] portagedir")
- parser.add_option("-i", "--initial-sync", action="store_true", \
- dest="initial", help="Skips handling of package moves")
(opts, args) = parser.parse_args()
if len(args) != 1:
parser.error("please provide path to portagedir as first argument")
sys.exit(1)
- main(args[0], opts.initial)
+ main(args[0], opts)