@@ -49,8 +49,8 @@ class InitError(Exception):
4949 """
5050
5151 def __str__ (self ):
52- return "No api_token provided. Init the pushover module by\
53- calling the init function"
52+ return ( "No api_token provided. Init the pushover module by "
53+ " calling the init function")
5454
5555
5656class UserError (Exception ):
@@ -59,7 +59,7 @@ class UserError(Exception):
5959 """
6060
6161 def __str__ (self ):
62- return "No :attr:` user_key` attribute provided."
62+ return "No user_key attribute provided."
6363
6464
6565class RequestError (Exception ):
@@ -257,8 +257,8 @@ def main():
257257 parser .add_argument ("--priority" , "-p" , help = "message priority" )
258258 parser .add_argument ("--url" , help = "additional url" )
259259 parser .add_argument ("--url-title" , help = "additional url title" )
260- parser .add_argument ("-c" , "--config" , help = "configuration file" ,
261- default = "~/.pushoverrc" )
260+ parser .add_argument ("-c" , "--config" , help = "configuration file\
261+ (default: ~/.pushoverrc)" , default = "~/.pushoverrc" )
262262 parser .add_argument ("--profile" , help = "profile to read in the\
263263 configuration file (default: Default)" ,
264264 default = "Default" )
0 commit comments