Skip to content

Commit

Permalink
Fix issues hilighted in bug 739766
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Feb 12, 2012
1 parent 4a222d3 commit da98b5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ try:
# Display usage instructions
def Usage():
print "pastebinit v" + version
print "Reads on stdin for input or takes a filename as first parameter"
print _("Reads on stdin for input or takes a filename as first parameter")
print _("Optional arguments (not supported by all pastebins):")
print _("\t-a <author:default is '%s'>") % user
print _("\t-b <pastebin url:default is '%s'>") % website
Expand Down Expand Up @@ -224,7 +224,6 @@ try:
except KeyboardInterrupt:
sys.exit(_("KeyboardInterrupt caught."))
except:
raise
print _("Error parsing configuration file!")
print _("Please ensure that your configuration file looks similar to the following:")
print configexample
Expand Down Expand Up @@ -350,7 +349,6 @@ try:
except KeyboardInterrupt:
sys.exit(_("KeyboardInterrupt caught."))
except:
raise
sys.exit(_("Unable to read or parse the result page, it could be a server timeout or a change server side, try with another pastebin."))

except KeyboardInterrupt:
Expand Down
Empty file modified test.sh
100644 → 100755
Empty file.

0 comments on commit da98b5f

Please sign in to comment.