File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ PYTHONPATH=. exec bin/bugzilla " $@ "
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def initialize_options(self):
118118 def finalize_options (self ):
119119 pass
120120
121- def run (self ):
121+ def _run (self ):
122122 os .system ("pylint "
123123 "--reports=n "
124124 "--output-format=colorized "
@@ -151,15 +151,25 @@ def run(self):
151151 # W0212: Access to a protected member of a client class
152152 "--disable W0212 "
153153
154- "bugzilla/ bugzilla-cli tests/*.py " )
154+ "bugzilla/ bin-bugzilla tests/*.py " )
155155
156156 os .system ("pep8 --format=pylint "
157- "bugzilla/ bugzilla-cli tests/ "
157+ "bugzilla/ bin-bugzilla tests/ "
158158 # E303: Too many blank lines
159159 # E125: Continuation indent isn't different from next block
160160 # E128: Not indented for visual style
161161 "--ignore E303,E125,E128" )
162162
163+ def run (self ):
164+ os .link ("bin/bugzilla" , "bin-bugzilla" )
165+ try :
166+ self ._run ()
167+ finally :
168+ try :
169+ os .unlink ("bin-bugzilla" )
170+ except :
171+ pass
172+
163173
164174class RPMCommand (Command ):
165175 description = "Build src and binary rpms."
You can’t perform that action at this time.
0 commit comments