- patch by pwannygoodness for Issue #15 integrated
This commit is contained in:
parent
9598b484a8
commit
bc7f96cbb1
@ -165,7 +165,7 @@ class Version(pathed.Pathed):
|
|||||||
self._add_script_sql(path)
|
self._add_script_sql(path)
|
||||||
def _add_script_sql(self,path):
|
def _add_script_sql(self,path):
|
||||||
try:
|
try:
|
||||||
version,dbms,op,ext=path.split('.',3)
|
version,dbms,op,ext=os.path.basename(path).split('.',3)
|
||||||
except:
|
except:
|
||||||
raise exceptions.ScriptError("Invalid sql script name %s"%path)
|
raise exceptions.ScriptError("Invalid sql script name %s"%path)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user