diff --git a/pcp b/pcp index 80cba35..f7d8bae 100755 --- a/pcp +++ b/pcp @@ -126,8 +126,8 @@ LASTRANK INTEGER DEFAULT 0)""") filedb.execute("""CREATE TABLE DIRLIST ( ID INTEGER PRIMARY KEY AUTOINCREMENT, DIRNAME TEXT, -MTIME REAL, -ATIME REAL)""") +MTIME INTEGER, +ATIME INTEGER)""") # Table to hold program arguments filedb.execute("""CREATE TABLE ARGUMENTS( @@ -522,7 +522,7 @@ def copyDirectories(sourcedir, destdir, statedb): i = 0 while i < MAXTRIES: try: - createDir(sourcedir, destination, statedb, idx) + createDir(d, destination, statedb, idx) break except IOError, error: i += 1