git » abk » commit 05f3208

Update size field.

author
2005-03-02 05:09:32 UTC
committer
2005-03-02 05:09:32 UTC
parent 8b6b506a2bbdc1c39e4027c1641e8a6d7dd9254f

Update size field.

abk +2 -0

diff --git a/abk b/abk
index 5d5c165..620872a 100644
--- a/abk
+++ b/abk
@@ -30,6 +30,7 @@ class file_info:
 		self.uid = 0
 		self.gid = 0
 		self.mtime = 0
+		self.size = 0
 		self.type = ''
 		self.linkto = None
 		self.rdev = None
@@ -62,6 +63,7 @@ class file_info:
 			self.type = 'u'
 
 		self.mtime = s.st_mtime
+		self.size = s.st_size
 		self.mode = s.st_mode
 		self.uid = s.st_uid
 		self.gid = s.st_gid