Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: lib/naclports/source_package.py

Issue 1422073003: Fix crash in source_package.py (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/naclports/tests/test_source_package.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/naclports/source_package.py
diff --git a/lib/naclports/source_package.py b/lib/naclports/source_package.py
index 8363e2fe356db18ded0a9cab879c6adba75b358d..013bedbbdb49e774ac07ff0996a3ee7c637930dc 100644
--- a/lib/naclports/source_package.py
+++ b/lib/naclports/source_package.py
@@ -16,6 +16,7 @@ from naclports import binary_package
from naclports import configuration
from naclports import package
from naclports import package_index
+from naclports import installed_package
from naclports import util
from naclports import paths
from naclports import bsd_pkg
@@ -289,7 +290,7 @@ class SourcePackage(package.Package):
binary_package.BinaryPackage(package_file).Install(force)
def GetInstalledPackage(self):
- return package.CreateInstalledPackage(self.NAME, self.config)
+ return installed_package.CreateInstalledPackage(self.NAME, self.config)
def CreatePkgFile(self):
"""Create and pkg file for use with the FreeBSD pkg tool.
« no previous file with comments | « no previous file | lib/naclports/tests/test_source_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698