Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdamusic committed Jul 28, 2019
1 parent 079d476 commit 79145d1
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 141 deletions.
6 changes: 3 additions & 3 deletions ontospy/extras/dbpedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ def parse_options():

if len(args) > 0: #dont take no args
parser.print_help()
raise SystemExit, 1
raise SystemExit(1)
if not (opts.query or opts.describe or opts.alltriples or opts.ontology):
parser.print_help()
raise SystemExit, 1
raise SystemExit(1)
return opts, args


Expand Down Expand Up @@ -161,7 +161,7 @@ def main():
try:
main()
sys.exit(0)
except KeyboardInterrupt, e: # Ctrl-C
except KeyboardInterrupt as e: # Ctrl-C
raise e


Expand Down
90 changes: 0 additions & 90 deletions ontospy/extras/hacks/click_example.py

This file was deleted.

46 changes: 0 additions & 46 deletions ontospy/extras/hacks/pptoolkit.py

This file was deleted.

Binary file removed ontospy/extras/hacks/sounds/fx_bleep1.wav
Binary file not shown.
Binary file removed ontospy/extras/hacks/sounds/fx_bleep2.wav
Binary file not shown.
Binary file removed ontospy/extras/hacks/sounds/fx_bleeps.wav
Binary file not shown.
Binary file removed ontospy/extras/hacks/sounds/ohh1.wav
Binary file not shown.
Binary file removed ontospy/extras/hacks/sounds/ohh2.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions ontospy/extras/sparqlpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def parse_options():

if len(args) < 1:
parser.print_help()
raise SystemExit, 1
raise SystemExit(1)

return opts, args

Expand Down Expand Up @@ -332,5 +332,5 @@ def main():
try:
main()
sys.exit(0)
except KeyboardInterrupt, e: # Ctrl-C
except KeyboardInterrupt as e: # Ctrl-C
raise e

0 comments on commit 79145d1

Please sign in to comment.