Skip to content

Commit

Permalink
Merge pull request #41 from scop/colorref
Browse files Browse the repository at this point in the history
Fix references to colors
  • Loading branch information
jasonrbriggs committed Jul 12, 2015
2 parents 56714df + 8488dc0 commit 1dc7bd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stomp/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ def help(self, usage, description, required=[], optional=[]):
oparams = "\n\t".join(optional)

m = {
'hl' : colors.BOLD + colors.GREEN,
'nc' : colors.NO_COLOR,
'hl' : stomp.colors.BOLD + stomp.colors.GREEN,
'nc' : stomp.colors.NO_COLOR,
'usage' : usage,
'description' : description,
'required' : rparams.rstrip(),
Expand Down Expand Up @@ -304,7 +304,7 @@ def help_sendfile(self):
[ 'destination - where to send the message', 'filename - the file to send' ])

def do_version(self, args):
self.__sysout('%s%s [Protocol version %s]%s' % (colors.BOLD, stomppy_version, self.conn.version, colors.NO_COLOR))
self.__sysout('%s%s [Protocol version %s]%s' % (stomp.colors.BOLD, stomppy_version, self.conn.version, stomp.colors.NO_COLOR))
do_ver = do_version

def help_version(self):
Expand Down

0 comments on commit 1dc7bd7

Please sign in to comment.