Commit 3543596c authored by Luke Macken's avatar Luke Macken

whitespace

parent 8ba4f0ae
......@@ -29,11 +29,11 @@ def main():
parser.add_argument('filename', default=None, nargs='?', help="The second argument must be a filename")
parser.add_argument('--gdb-prefix', dest='gdb_prefix', help='GDB prefix (if specified during installation)', default="")
parser.add_argument('--verbose', dest='verbose', help='Verbose mode', default=False, action='store_const', const=True)
if len(sys.argv)==1:
parser.print_help()
sys.exit(1)
args = parser.parse_args()
try:
......@@ -41,7 +41,7 @@ def main():
except ValueError:
print "Error: The first argument must be a pid"
sys.exit(2)
filename = args.filename
if filename:
if not os.path.exists(filename):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment