summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-03-13 16:22:07 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-03-13 16:22:07 +0000
commit663362fea5d67e88ba3ccecb0f7357063f0e21d9 (patch)
tree704df6d60e40dca31fd7cc0113f3f6caa45ba59d
parent541a5fc425b35ee7813e7275e20918396f4fda7b (diff)
downloadrdiff-backup-663362fea5d67e88ba3ccecb0f7357063f0e21d9.tar.gz
Added long conversion to os.utime arguments to avoid type error
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@299 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index b689a85..909ac0a 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -644,7 +644,7 @@ class RPath(RORPath):
def setmtime(self, modtime):
"""Set only modtime (access time to present)"""
log.Log(lambda: "Setting time of %s to %d" % (self.path, modtime), 7)
- self.conn.os.utime(self.path, (time.time(), modtime))
+ self.conn.os.utime(self.path, (long(time.time()), modtime))
self.data['mtime'] = modtime
def chown(self, uid, gid):