mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 05:47:59 +01:00
misc m fixes
This commit is contained in:
parent
d14ad81de1
commit
fecaba8b21
2 changed files with 2 additions and 1 deletions
2
ponysay
2
ponysay
|
@ -41,7 +41,7 @@ VERSION = 'dev' # this line should not be edited, it is fixed by the build syst
|
|||
Hack to enforce UTF-8 in output (in the future, if you see anypony not using utf-8 in programs by default, report them to Princess Celestia so she can banish them to the moon)
|
||||
'''
|
||||
def print(text = '', end = '\n'):
|
||||
sys.stdout.buffer.write((text + end).encode('utf-8'))
|
||||
sys.stdout.buffer.write((str(text) + end).encode('utf-8'))
|
||||
|
||||
|
||||
'''
|
||||
|
|
1
setup.py
1
setup.py
|
@ -202,6 +202,7 @@ class Setup():
|
|||
if conf['custom-env-python'] is not None: print(GREEN % ('Using custom env reference in python script shebang: ', conf['custom-env-python']))
|
||||
else: print(YELLOW % ('Looking for best env reference in python script shebang'))
|
||||
for miscfile in miscfiles: print(GREEN % ('Installing ' + miscfile[0] + ' to ', conf[miscfile[0]]))
|
||||
print('Prefered linking style: ' + self.linking)
|
||||
|
||||
print()
|
||||
|
||||
|
|
Loading…
Reference in a new issue