Skip to content

Commit 361c2da

Browse files
committed
0.0.19, fix bug with tmuxp convert, new prompt methods, pep257
1 parent 6b37c44 commit 361c2da

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Diff for: CHANGES

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Here you can find the recent changes to tmuxp.
66
2013-10-28
77
----------
88

9-
- [cli] fix ``tmuxp load .``
9+
- [cli] fix ``tmuxp load .`` fixed
10+
- [cli] fix ``tmuxp convert <file>`` fixed.
11+
- [internal] `pep257` fixes.
1012

1113
2013-10-27
1214
----------
@@ -258,3 +260,4 @@ initial
258260
.. _tmuxinator: https://github.com/aziz/tmuxinator
259261
.. _teamocil: https://github.com/remiprev/teamocil
260262
.. _argcomplete: https://github.com/kislyuk/argcomplete
263+
.. _pep257: http://www.python.org/dev/peps/pep-0257/

Diff for: tmuxp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020

2121
import logging
2222

23-
__version__ = '0.0.18'
23+
__version__ = '0.0.19'

Diff for: tmuxp/cli.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ def subcommand_load(args):
265265
if '.' == args.config:
266266
if config.in_cwd():
267267
configfile = config.in_cwd()[0]
268-
print configfile
269268
else:
270269
print('No tmuxp configs found in current directory.')
271270
else:
@@ -398,7 +397,7 @@ def subcommand_convert(args):
398397
buf = open(newfile, 'w')
399398
buf.write(newconfig)
400399
buf.close()
401-
print ('written new config to %s' % (newfile))
400+
print('written new config to %s' % (newfile))
402401
elif 'yaml' in ext:
403402
if prompt_bool('convert to <%s> to json?' % (fullfile)):
404403
configparser = kaptan.Kaptan()
@@ -410,7 +409,7 @@ def subcommand_convert(args):
410409
buf = open(newfile, 'w')
411410
buf.write(newconfig)
412411
buf.close()
413-
print ('written new config to <%s>.' % (newfile))
412+
print('written new config to <%s>.' % (newfile))
414413

415414

416415
def subcommand_attach_session(args):

0 commit comments

Comments
 (0)