Remove -n option, it's a noop atm. anyway
authorJames Antill <james@and.org>
Mon, 12 May 2008 12:49:39 +0000 (08:49 -0400)
committerJames Antill <james@and.org>
Mon, 12 May 2008 12:49:39 +0000 (08:49 -0400)
createrepo/__init__.py
genpkgmetadata.py

index 4fce0bd3de919cc2b586f0289251920fe8df2a62..9c9659d67460d1ff5d754c79221bd69f55a8fb9c 100644 (file)
@@ -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
index 88e9cb70569354539344f87eef0f8f58cde4738e..b12b8682fb8c12603331e5bf4bab9a399a17e493 100755 (executable)
@@ -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,