##// END OF EJS Templates
Readd ifile.defaultattrs.
walter.doerwald -
Show More
@@ -1082,6 +1082,8 b' class ifile(path.path):'
1082 def __repr__(self):
1082 def __repr__(self):
1083 return "ifile(%s)" % path._base.__repr__(self)
1083 return "ifile(%s)" % path._base.__repr__(self)
1084
1084
1085 defaultattrs = (None, "type", "size", "modestr", "owner", "group", "mdate")
1086
1085 def __xattrs__(self, mode):
1087 def __xattrs__(self, mode):
1086 if mode == "detail":
1088 if mode == "detail":
1087 return (
1089 return (
@@ -1121,7 +1123,7 b' class ifile(path.path):'
1121 "-walkfiles()",
1123 "-walkfiles()",
1122 )
1124 )
1123 else:
1125 else:
1124 return (None, "type", "size", "modestr", "owner", "group", "mdate")
1126 return self.defaultattrs
1125
1127
1126 def __xrepr__(self, mode):
1128 def __xrepr__(self, mode):
1127 try:
1129 try:
General Comments 0
You need to be logged in to leave comments. Login now