- Rename will mark the resulting relation as readonly and subsequent updates, insert or deletes will actually copy the content
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@251 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
@@ -101,7 +101,7 @@ def load_relation(filename,defname=None):
|
||||
f=filename.split('/')
|
||||
if defname==None:
|
||||
defname=f[len(f)-1].lower()
|
||||
if (defname.endswith(".csv") or defname.endswith(".tlb")): #removes the extension
|
||||
if defname.endswith(".csv"): #removes the extension
|
||||
defname=defname[:-4]
|
||||
|
||||
try:
|
||||
@@ -287,6 +287,5 @@ def main(files=[]):
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in New Issue
Block a user