Kaydet (Commit) fdd1b5bc authored tarafından Your Name's avatar Your Name

fix inary cp

üst e737b348
......@@ -37,8 +37,7 @@ def configure_pending(packages=None):
else:
packages = set(packages).intersection(installdb.list_pending())
order = inary.data.pgraph.generate_pending_order(packages)
for x in order:
for x in packages:
if installdb.has_package(x):
pkginfo = installdb.get_package(x)
ops_Dir = installdb.package_path(x)
......
......@@ -39,7 +39,7 @@ Lists packages waiting to be configured.
A = inary.db.installdb.InstallDB().list_pending()
if len(A):
ctx.ui.info(_('Listing pending orders:'), color='blue')
for p in inary.data.pgraph.generate_pending_order(A):
for p in A:
ctx.ui.info(p)
else:
ctx.ui.info(_('There are no packages waiting to be configured.'))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment