Skip to content

Commit 8ab3645

Browse files
committed
Remove some Python 3.6 syntax that snuck in
1 parent 7fc8f8f commit 8ab3645

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v0.2.1 (in development)
2+
-----------------------
3+
- Remove some Python 3.6 syntax that snuck in
4+
15
v0.2.0 (2020-07-24)
26
-------------------
37
- [#1] Added an `--ansi` option for outputting raw escape sequences without

ps1.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
by running ``PS1_GIT=off`` on the command line.
5858
"""
5959

60-
__version__ = '0.2.0'
60+
__version__ = '0.2.1.dev1'
6161
__author__ = 'John T. Wodder II'
6262
__author_email__ = 'ps1@varonathe.org'
6363
__license__ = 'MIT'
@@ -199,7 +199,7 @@ def escape(self, s):
199199
def main():
200200
parser = argparse.ArgumentParser(
201201
description='Yet another bash/zsh prompt script. '
202-
f'Visit <{__url__}> for more information.'
202+
'Visit <{}> for more information.'.format(__url__)
203203
)
204204
parser.add_argument(
205205
'--ansi',
@@ -230,7 +230,7 @@ def main():
230230
parser.add_argument(
231231
'-V', '--version',
232232
action = 'version',
233-
version = f'%(prog)s {__version__}',
233+
version = '%(prog)s {}'.format(__version__),
234234
)
235235
parser.add_argument(
236236
'git_flag',

0 commit comments

Comments
 (0)