From: James Antill Date: Mon, 12 May 2008 12:49:39 +0000 (-0400) Subject: Remove -n option, it's a noop atm. anyway X-Git-Tag: upstream/0.9.9~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba44f02f9c5f3e8363649c6d413cdb7c36fb1b4e;p=tools%2Fcreaterepo.git Remove -n option, it's a noop atm. anyway --- diff --git a/createrepo/__init__.py b/createrepo/__init__.py index 4fce0bd..9c9659d 100644 --- a/createrepo/__init__.py +++ b/createrepo/__init__.py @@ -54,7 +54,6 @@ class MetaDataConfig(object): self.baseurl = None self.groupfile = None self.sumtype = 'sha' - self.noepoch = False # hmm - maybe a fixme? self.pretty = False self.cachedir = None self.use_cache = False diff --git a/genpkgmetadata.py b/genpkgmetadata.py index 88e9cb7..b12b868 100755 --- a/genpkgmetadata.py +++ b/genpkgmetadata.py @@ -50,10 +50,6 @@ def parseArgs(args, conf): help="path to groupfile to include in metadata") parser.add_option("-s", "--checksum", default="sha", dest='sumtype', help="Deprecated, ignore") - parser.add_option("-n", "--noepoch", default=False, action="store_true", - help="don't add zero epochs for non-existent epochs"\ - "(incompatible with yum and smart but required for" \ - "systems with rpm < 4.2.1)") parser.add_option("-p", "--pretty", default=False, action="store_true", help="make sure all xml generated is formatted") parser.add_option("-c", "--cachedir", default=None,