[Pkg-mozext-commits] [mozilla-devscripts] 02/12: xpi-repack: Remove unused usage function.

Benjamin Drung bdrung at moszumanska.debian.org
Mon Mar 10 23:36:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository mozilla-devscripts.

commit c74d4c37e53f79da2be5d230efd4b3f22bbdd615
Author: Benjamin Drung <bdrung at debian.org>
Date:   Mon Mar 10 23:27:38 2014 +0100

    xpi-repack: Remove unused usage function.
---
 xpi-repack | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/xpi-repack b/xpi-repack
index 1642f42..e7408c7 100755
--- a/xpi-repack
+++ b/xpi-repack
@@ -76,21 +76,6 @@ def get_source_package_name(script_name):
     return packages[0]
 
 
-def usage(output):
-    print >> output, """Usage: %s [options] <xpi-file>
-
-Options:
-  -p, --package=<value>              specify source package name
-  -u, --upstream-version=<version>   specify the upstream version
-
-General options:
-  -h, --help                   display this help and exit
-  -v, --verbose                print more information
-
-See %s(1) for more info.""" % (os.path.basename(sys.argv[0]),
-                               os.path.basename(sys.argv[0]))
-
-
 def main():
     script_name = os.path.basename(sys.argv[0])
     epilog = "See {prog}(1) for more info.".format(prog=script_name)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/mozilla-devscripts.git



More information about the Pkg-mozext-commits mailing list