Unverified Kaydet (Commit) 8da21188 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Some readability improvements.

üst 666fa00d
......@@ -163,6 +163,7 @@ class Install(AtomicOperation):
self.store_old_paths = None
self.old_path = None
self.trigger = inary.trigger.Trigger()
self.ask_reinstall=False
def install(self, ask_reinstall=True):
......
......@@ -68,8 +68,7 @@ Lists previous operations.""")
history.takeback(operation)
def print_history(self):
ordered_history = []
ordered_history.append(_("Inary Transaction History: "))
ordered_history = [_("Inary Transaction History: ")]
for operation in self.historydb.get_last(ctx.get_option('last')):
msg_oprt = util.colorize(_("Operation "), 'yellow') \
......
......@@ -18,8 +18,6 @@ import os
# Inary Modules
import platform
import inary
import inary.errors
import inary.context as ctx
# Gettext Library
......
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