Skip to content

Commit

Permalink
Copy the timestamps from the right directory!
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Coates committed Jun 27, 2014
1 parent 3e344c6 commit bbf0eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pcp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bbf0eda

Please sign in to comment.