projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b978c84
)
Bugfix.
author
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 23 Feb 2011 15:41:07 +0000
(16:41 +0100)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 23 Feb 2011 15:41:07 +0000
(16:41 +0100)
File.py
patch
|
blob
|
history
diff --git
a/File.py
b/File.py
index
99c403a
..
1db2a97
100755
(executable)
--- a/
File.py
+++ b/
File.py
@@
-54,10
+54,10
@@
class File(BaseFile) :
if cacheTuple :
cacheData = cacheTuple[1]
- subObDict = cacheData.getSubObjects()
- if subObDict.has_key(name) :
- fileOb = OFS.Image.File(name, name, subObDict[name])
- return fileOb
+
subObDict = cacheData.getSubObjects()
+
if subObDict.has_key(name) :
+
fileOb = OFS.Image.File(name, name, subObDict[name])
+
return fileOb
raise AttributeError, name