Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #297 from hdiogenes/fix-napp-created-messages
Browse files Browse the repository at this point in the history
Fix "NApp created" messages
  • Loading branch information
hdiogenes authored Sep 15, 2020
2 parents 3e36e31 + e15a62e commit ed38f01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kytos/utils/napps.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ def create_napp(cls, meta_package=False):
print('--------------------------------------------------------------')
print('Welcome to the bootstrap process of your NApp.')
print('--------------------------------------------------------------')
print('In order to answer both the username and the napp name,')
print('You must follow this naming rules:')
print('In order to answer both the username and the NApp name,')
print('You must follow these naming rules:')
print(' - name starts with a letter')
print(' - name contains only letters, numbers or underscores')
print(' - at least three characters')
Expand All @@ -349,7 +349,7 @@ def create_napp(cls, meta_package=False):

#: Creating ``__init__.py`` files
with open(os.path.join(username, '__init__.py'), 'w') as init_file:
init_file.write(f'"""Napps for the user {username}.""""')
init_file.write(f'"""NApps for the user {username}.""""')

os.makedirs(os.path.join(username, napp_name))

Expand All @@ -374,9 +374,9 @@ def create_napp(cls, meta_package=False):
ui_templates_path, context)

print()
print(f'Congratulations! Your NApp has been bootstrapped!\nNow you '
'can go to the directory {username}/{napp_name} and begin to '
'code your NApp.')
print(f'Congratulations! Your NApp has been bootstrapped!\n'
f'Now you can go to the "{username}/{napp_name}" directory '
f'and begin to code your NApp.')
print('Have fun!')

@classmethod
Expand Down

0 comments on commit ed38f01

Please sign in to comment.