Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated commands and added module for colorful printable output. #72

Merged
merged 1 commit into from
Mar 22, 2020

Conversation

mayurilahane
Copy link
Member

@mayurilahane mayurilahane commented Feb 10, 2020

  • Updated commands by removing "pass"
  • For error messages, you will get the green-colored message.
    please have a look @ganeshhubale @Yadnyawalkya

except sqlite3.IntegrityError:
print(
colored("Already exists with the same name. Try with another Portal_name", "green")
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

self.email = email
self.portal_name = portal_name
self.portal_url = portal_url
self.cursor_obj.execute(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mayurilahane Why do we need variable initialization inside the try block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, agree!
we can do this try where we are actually getting values.
thanks for suggesting!

@ganeshhubale
Copy link
Contributor

Any updates on this PR @mayurilahane ?

@mayurilahane mayurilahane changed the title Updated commands and added module for colorful printable output. [RFR]Updated commands and added module for colorful printable output. Mar 22, 2020
@mayurilahane mayurilahane added the RFR Ready For Review label Mar 22, 2020
@mayurilahane mayurilahane changed the title [RFR]Updated commands and added module for colorful printable output. Updated commands and added module for colorful printable output. Mar 22, 2020
@mayurilahane mayurilahane merged commit 1e53fa3 into paint-it:master Mar 22, 2020
mayurilahane added a commit to mayurilahane/pygenpass that referenced this pull request Jul 26, 2020
Updated commands and added module for colorful printable output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants