mercredi 25 février 2015

Python too short if condition

I want this condition to be short if it's possible, I don't want every time or



if not wall.twitter_access_token or not wall.twitter_access_token_secret or not wall.auth_user:
raise Exception("Cannot open without verify with twitter account")

Aucun commentaire:

Enregistrer un commentaire