[csw-devel] SF.net SVN: gar:[12970] csw/mgar/gar/v2/lib/python/checkpkg.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Jan 17 10:26:44 CET 2011
Revision: 12970
http://gar.svn.sourceforge.net/gar/?rev=12970&view=rev
Author: wahwah
Date: 2011-01-17 09:26:44 +0000 (Mon, 17 Jan 2011)
Log Message:
-----------
checkpkg: Removing an unused function
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/checkpkg.py
Modified: csw/mgar/gar/v2/lib/python/checkpkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/checkpkg.py 2011-01-17 09:26:09 UTC (rev 12969)
+++ csw/mgar/gar/v2/lib/python/checkpkg.py 2011-01-17 09:26:44 UTC (rev 12970)
@@ -59,22 +59,6 @@
pass
-def GetOptions():
- parser = optparse.OptionParser()
- parser.add_option("-d", "--debug", dest="debug",
- default=False, action="store_true",
- help="Turn on debugging messages")
- parser.add_option("-p", "--profile", dest="profile",
- default=False, action="store_true",
- help=("Turn on profiling"))
- parser.add_option("-q", "--quiet", dest="quiet",
- default=False, action="store_true",
- help=("Print less messages"))
- (options, args) = parser.parse_args()
- # Using set() to make the arguments unique.
- return options, set(args)
-
-
def ExtractDescription(pkginfo):
desc_re = re.compile(DESCRIPTION_RE)
m = re.match(desc_re, pkginfo["NAME"])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list