summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@netz.ooo>2005-03-21 10:13:05 +0000
committerJens Vagelpohl <jens@netz.ooo>2005-03-21 10:13:05 +0000
commit1ccd42f515f2345a091a09e07cf4872f91ee327b (patch)
tree813d691155d85a8dc2ee51cdca45d7211791dd7b
parent458a997647a33fd0eab449d6e78953b8219ffb34 (diff)
downloadZoftware-1ccd42f515f2345a091a09e07cf4872f91ee327b.zip
Zoftware-1ccd42f515f2345a091a09e07cf4872f91ee327b.tar.gz
- fix breakage due to strange new getId behavior on OFS.File-derived
objects
-rw-r--r--ZoftwareFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZoftwareFile.py b/ZoftwareFile.py
index bdf232e..b8ebf1d 100644
--- a/ZoftwareFile.py
+++ b/ZoftwareFile.py
@@ -49,7 +49,7 @@ class ZoftwareFile(File):
def __init__(self, id, file):
""" Instantiate a new ZoftwareFile object """
- self.id = id
+ self.id = self.__name__ = id
self.downloads = TinyCounter()
self.content_type = ''
self.readme = ''