Skip to content

Commit

Permalink
NF - allow build command as input to subclass in adding commit functi…
Browse files Browse the repository at this point in the history
…onality
  • Loading branch information
matthew-brett committed Oct 3, 2010
1 parent d786f21 commit 67da701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

from distutils import log

def get_build_cmd(pkg_dir):
class MyBuildPy(build_py):
def get_build_cmd(pkg_dir, build_cmd=build_py):
class MyBuildPy(build_cmd):
''' Subclass to write commit data into installation tree '''
def run(self):
build_py.run(self)
Expand Down

0 comments on commit 67da701

Please sign in to comment.