Folks,
The following is a short diff that addresses the traceback seen in
14201. The fix is small enough that I didn't bother with a webrev.
diff -r 4409e56754c5 -r d9d66d2f1635 src/modules/client/transport/transport.py
--- a/src/modules/client/transport/transport.py Tue Jan 26 15:42:52 2010 +0000
+++ b/src/modules/client/transport/transport.py Wed Jan 27 16:14:40 2010 -0800
@@ -975,7 +975,10 @@
# Get publisher information from FMRI.
pub = self.__img.get_publisher(fmri.get_publisher())
# Use the publisher to get the catalog and its signature info.
- sigs = dict(pub.catalog.get_entry_signatures(fmri))
+ try:
+ sigs = dict(pub.catalog.get_entry_signatures(fmri))
+ except apx.UnknownCatalogEntry:
+ return False
if sigs and "sha-1" in sigs:
chash = sigs["sha-1"]
Thanks,
-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss