Comment 3 for bug 1412879

Revision history for this message
Daniel Hahler (blueyed) wrote :

The Debian/Ubuntu package has a patch already (debian/patches/fix_import_args), but apparently it does not match the version of clint (anymore):

    Index: legit-0.1.1/legit/cli.py
    ===================================================================
    --- legit-0.1.1.orig/legit/cli.py 2012-03-25 11:01:33.000000000 +0900
    +++ legit-0.1.1/legit/cli.py 2014-09-04 15:14:54.953516555 +0900
    @@ -12,7 +12,7 @@
     from time import sleep

     import clint.resources
    -from clint import args
    +from clint import Args
     from clint.eng import join as eng_join
     from clint.textui import colored, puts, columns

    @@ -21,6 +21,7 @@
     from .helpers import is_lin, is_osx, is_win
     from .scm import *

    +args = Args()

     def black(s):
         if settings.allow_black_foreground:

I suggest forwarding the bug to the Debian maintainer / bug tracker.

Apart from that, since the PR/fix mentioned above has been merged in Git (but
not released on pypi), you could install legit manually.