Skip to content

Commit

Permalink
0.0.19, fix bug with tmuxp convert, new prompt methods, pep257
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Oct 28, 2013
1 parent 6b37c44 commit 361c2da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Here you can find the recent changes to tmuxp.
2013-10-28
----------

- [cli] fix ``tmuxp load .``
- [cli] fix ``tmuxp load .`` fixed
- [cli] fix ``tmuxp convert <file>`` fixed.
- [internal] `pep257` fixes.

2013-10-27
----------
Expand Down Expand Up @@ -258,3 +260,4 @@ initial
.. _tmuxinator: https://github.com/aziz/tmuxinator
.. _teamocil: https://github.com/remiprev/teamocil
.. _argcomplete: https://github.com/kislyuk/argcomplete
.. _pep257: http://www.python.org/dev/peps/pep-0257/
2 changes: 1 addition & 1 deletion tmuxp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

import logging

__version__ = '0.0.18'
__version__ = '0.0.19'
5 changes: 2 additions & 3 deletions tmuxp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ def subcommand_load(args):
if '.' == args.config:
if config.in_cwd():
configfile = config.in_cwd()[0]
print configfile
else:
print('No tmuxp configs found in current directory.')
else:
Expand Down Expand Up @@ -398,7 +397,7 @@ def subcommand_convert(args):
buf = open(newfile, 'w')
buf.write(newconfig)
buf.close()
print ('written new config to %s' % (newfile))
print('written new config to %s' % (newfile))
elif 'yaml' in ext:
if prompt_bool('convert to <%s> to json?' % (fullfile)):
configparser = kaptan.Kaptan()
Expand All @@ -410,7 +409,7 @@ def subcommand_convert(args):
buf = open(newfile, 'w')
buf.write(newconfig)
buf.close()
print ('written new config to <%s>.' % (newfile))
print('written new config to <%s>.' % (newfile))


def subcommand_attach_session(args):
Expand Down

0 comments on commit 361c2da

Please sign in to comment.