Closed
Bug 465811
Opened 16 years ago
Closed 16 years ago
[silme] extend list of objects with a "uri" attribute
Categories
(Mozilla Localizations :: Infrastructure, defect)
Mozilla Localizations
Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adriank, Assigned: adriank)
References
Details
Attachments
(2 files, 1 obsolete file)
799 bytes,
patch
|
Details | Diff | Splinter Review | |
4.96 KB,
patch
|
zbraniecki
:
review+
|
Details | Diff | Splinter Review |
Based on a discussion with Gandalf: it would be useful to have the same attribute behavior in all objects which can repesent files or folders.
L10nPackages do have the "uri" attribute, but getL10nPackages() in io.file.py does not set it.
At the moment all of the following diff-objects: EntityListDiff, ObjectDiff, L10nObjectDiff, L10nPackageDiff do not have it.
Adding the uri attribute to them requires us to save both uris. I solved this by saving them in a tuple.
Assignee | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Comment on attachment 349031 [details] [diff] [review]
patch adding 'uri' to diff-objects
cool. both patches are good. I'd prefer to use first self.uri then remote object uri in tuples.
Can you update the patch please?
Assignee | ||
Comment 3•16 years ago
|
||
changed order of uris in tuples
Attachment #349031 -
Attachment is obsolete: true
Attachment #349141 -
Flags: review?(gandalf)
Comment 4•16 years ago
|
||
Comment on attachment 349141 [details] [diff] [review]
patch adding 'uri' to diff-objects (v2)
sweet :)
Attachment #349141 -
Flags: review?(gandalf) → review+
Comment 5•16 years ago
|
||
fixed, commited
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•