Skip to content

Instantly share code, notes, and snippets.

@f99aq8ove
Created November 14, 2010 05:53
Show Gist options
  • Save f99aq8ove/675947 to your computer and use it in GitHub Desktop.
Save f99aq8ove/675947 to your computer and use it in GitHub Desktop.
--- a/portupgrade 2010-11-14 14:46:24.112307993 +0900
+++ b/portupgrade 2010-11-14 14:47:29.271209261 +0900
@@ -1001,7 +1001,7 @@
rescue IgnoreMarkError => e
$results << PkgResult.new(origin, :ignored, pkgname)
rescue => e
- $results << PkgResult.new(origin, e, pkgname)
+ $results << PkgResult.new(origin.nil? ? "nil" : origin, e, pkgname)
ensure
$use_packages, $use_packages_only = use_packages, use_packages_only
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment