Avoid importing main during hpgit installation
Change-Id: I2492200f8e6fb0cc470cc376eb17a39b4b3033ff
This commit is contained in:
@@ -15,13 +15,14 @@ import argparse
|
||||
from distutils.command.build import build
|
||||
from distutils.core import Command
|
||||
from distutils.errors import DistutilsOptionError
|
||||
from ghp import main
|
||||
|
||||
class create_manpage(Command):
|
||||
|
||||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
from ghp import main
|
||||
|
||||
self._output = self.distribution.get_name() + '.1'
|
||||
self._seealso = ["git:1"]
|
||||
self._today = datetime.date.today()
|
||||
|
Reference in New Issue
Block a user