ezbz / gitlabber

Gitlabber - clones or pulls entire groups tree from gitlab
MIT License
467 stars 78 forks source link

python -m gitlabber failed after install from source #93

Closed ckelsel closed 2 years ago

ckelsel commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

$ python2 -m gitlabber
Traceback (most recent call last):
  File "C:\PYTHON27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\PYTHON27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "D:\work\0\0_as\1_open_source_demo\0_astute\gitlabber\gitlabber\__main__.py", line 1, in <module>
    from .cli import main
  File "gitlabber\cli.py", line 32
    elif args.dest is None and args.print is False:
                                        ^
SyntaxError: invalid syntax

To Reproduce

  1. Include the full command line with all arguments and the output in verbose (-v) mode
    git clone https://github.com/ezbz/gitlabber.git
    cd gitlabber
    python2 setup.py install
    python2 -m gitlabber

    Expected behavior A clear and concise description of what you expected to happen. python2 -m gitlabber run success

Versions (please complete the following information):

Additional context Add any other context about the problem here.

ezbz commented 2 years ago

gitlabber users python 3, python 2 is not supported