Skip to content

Commit

Permalink
no relative import in when run as a script
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffxuan committed Jul 17, 2015
1 parent 6918f90 commit 9d1318c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/sparql/algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def pp(p, ind=" "):

if __name__ == '__main__':
import sys
from . import parser
from rdflib.plugins.sparql import parser
import os.path

if os.path.exists(sys.argv[1]):
Expand Down

0 comments on commit 9d1318c

Please sign in to comment.