Commit f31c235f authored by Maiken's avatar Maiken

Merge branch 'arcctl-python26-argparse-fix' into 'master'

Extra attribute existence check for argparse in python2.6

See merge request !942
parents caae2cde 743eddc8
Pipeline #7432 passed with stages
in 121 minutes and 21 seconds
......@@ -293,7 +293,7 @@ class RTEControl(ComponentControl):
self.__list_rte(self.system_rtes, args.long)
elif args.user:
self.__list_rte(self.user_rtes, args.long)
elif args.community:
elif hasattr(args, 'community') and args.community:
self.__list_rte(self.community_rtes, args.long)
elif args.available:
self.system_rtes.update(self.user_rtes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment