##// END OF EJS Templates
capitalize error for consistency with L280...
Ali Nabipour -
Show More
@@ -274,7 +274,7 b' class CodeMagics(Magics):'
274 try:
274 try:
275 expiry_days = int(opts.get("e", 7))
275 expiry_days = int(opts.get("e", 7))
276 except ValueError as e:
276 except ValueError as e:
277 print(e.args[0])
277 print(e.args[0].capitalize())
278 return
278 return
279 if expiry_days < 1 or expiry_days > 365:
279 if expiry_days < 1 or expiry_days > 365:
280 print("Expiry days should be in range of 1 to 365.")
280 print("Expiry days should be in range of 1 to 365.")
General Comments 0
You need to be logged in to leave comments. Login now