createrepo/__init__.py genpkgmetadata.py

[email protected] (James Antill)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo/__init__.py |    1 -
 genpkgmetadata.py      |    4 ----
 2 files changed, 5 deletions(-)

New commits:
commit ba44f02f9c5f3e8363649c6d413cdb7c36fb1b4e
Author: James Antill <[email protected]>
Date:   Mon May 12 08:49:39 2008 -0400

    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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.