]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/dbconn.py
merge with master
[dak.git] / daklib / dbconn.py
index 9770cf84dace77760eb297f12437aa0a01ab333c..b29137221672d7f698fd7459a1f12c0a2ff1c630 100755 (executable)
@@ -514,6 +514,8 @@ class DBConn(Singleton):
             for fullpath in fullpaths:
                 (path, file) = os.path.split(fullpath)
 
+                if path.startswith( "./" ):
+                    path = path[2:]
                 # Get the necessary IDs ...
                 file_id = self.get_or_set_contents_file_id(file)
                 path_id = self.get_or_set_contents_path_id(path)