Remove redundant exists check in getSrcFolder
This commit is contained in:
parent
98fd8f5cc2
commit
e4bb8eed98
@ -42,10 +42,7 @@ def getSrcFolder():
|
||||
(mod, sys.getfilesystemencoding()))
|
||||
raise
|
||||
|
||||
# Assert the source checkout is not in a non-representable path...
|
||||
assert os.path.exists(mod), ("Source checkout path cannot be represented as unicode. "
|
||||
"Put the source checkout somewhere else.")
|
||||
return os.path.dirname((os.path.dirname(mod)))
|
||||
return os.path.dirname(os.path.dirname(mod))
|
||||
|
||||
def resourcePath(filename):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user