- Revision
- 11258
- Author
- grant
- Date
- 2006-07-25 16:48:33 -0700 (Tue, 25 Jul 2006)
Log Message
Use more descriptive repository view names in startup module
- This patch would like to point out that it was originally typed by pje,
transported to Travis via IRC, and then sent to me via SMTP and IMAP.
It is very grateful to those two individuals and three protocols, which,
if it knew about such things, it would view as its parents and doctors
(respectively).
It would also like thank svn, which helped the preservation of its form
across multiple machines and users, as well as ssh and SSL, which made sure
it felt comfortable and secure during a couple of potentially trying passages
across the internet.
- This patch would like to point out that it was originally typed by pje,
transported to Travis via IRC, and then sent to me via SMTP and IMAP.
It is very grateful to those two individuals and three protocols, which,
if it knew about such things, it would view as its parents and doctors
(respectively).
It would also like thank svn, which helped the preservation of its form
across multiple machines and users, as well as ssh and SSL, which made sure
it felt comfortable and secure during a couple of potentially trying passages
across the internet.
Modified Paths
Diff
Modified: trunk/chandler/parcels/osaf/startup.py (11257 => 11258)
--- trunk/chandler/parcels/osaf/startup.py 2006-07-25 20:32:12 UTC (rev 11257) +++ trunk/chandler/parcels/osaf/startup.py 2006-07-25 23:48:33 UTC (rev 11258) @@ -142,7 +142,10 @@ if view.repository is None: return item_or_view # for NullRepositoryView, use old item - new_view = view.repository.createView(name, version) + new_view = view.repository.createView( + name or getattr(item_or_view, 'itsName', None), + version + ) item = new_view.findUUID(item_or_view.itsUUID) if item is None:
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
