From: Eric S. Raymond Date: Wed, 3 Oct 2012 02:06:16 +0000 (-0400) Subject: Remove dead code. X-Git-Tag: 1.5~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=05ae24ede7e2f7fc6255d996653552dccfb79bdf;p=irker.git Remove dead code. --- diff --git a/irkerhook.py b/irkerhook.py index cc1d6b0..799bc44 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -398,7 +398,6 @@ def ship(extractor, commit, debug): if __name__ == "__main__": notify = True repository = "." - refname = None commits = [] for arg in sys.argv[1:]: if arg == '-n': @@ -406,8 +405,6 @@ if __name__ == "__main__": elif arg == '-V': print "irkerhook.py: version", version sys.exit(0) - elif arg.startswith("--refname="): - refname = arg[10:] elif arg.startswith("--repository="): repository = arg[13:] elif not arg.startswith("--"):