1. 02 Oct, 2014 1 commit
    • Stavros Sachtouris's avatar
      Escape characters in CLI output methods · 5852db11
      Stavros Sachtouris authored
      Closes grnet/kamaki#32
      
      Kamaki CLI commands use some generic output methods to handle outputs.
      
      Generic output methods that escape control characters:
      - in kamaki.cli.utils: print_items, print_dict, print_list
      - in kamaki.cli.cmds: error
      
      Generic output methods that don't escape control characters:
      - in kamaki.cli.cmds: writeln, write
      
      The methods that don't escape control characters are used when the
      standard methods are not sufficient. For example, in "kamaki.cli.pithos"
      the "PithosAccount.print_objects" method adds decorative escape characters
      (i.e., bold, alignment), but has to escape the parts object and container
      names. To achieve this, escaping is handled in the method, and the output
      is printed with the "write" and "writeln" methods mentioned earlier.
      
      An encoding issue with kamaki.cli.errors.CLIError and the Exceptions extending it,
      is fixed. It is now ensured that the error message will always be in unicode.
      
      Also, fix flake8 errors on files affected by the above changes
      5852db11
  2. 16 Jun, 2014 1 commit
  3. 21 May, 2014 10 commits
  4. 01 Apr, 2014 1 commit
  5. 31 Mar, 2014 1 commit
  6. 27 Feb, 2014 2 commits
  7. 26 Feb, 2014 2 commits
  8. 25 Feb, 2014 1 commit
  9. 24 Feb, 2014 1 commit
  10. 11 Feb, 2014 1 commit
  11. 13 Dec, 2013 2 commits
  12. 12 Dec, 2013 1 commit
  13. 11 Dec, 2013 1 commit
  14. 10 Dec, 2013 2 commits
  15. 09 Dec, 2013 2 commits
  16. 29 Nov, 2013 2 commits
  17. 26 Nov, 2013 1 commit
  18. 19 Nov, 2013 1 commit
  19. 15 Nov, 2013 1 commit
  20. 06 Nov, 2013 1 commit
  21. 10 Oct, 2013 1 commit
  22. 02 Oct, 2013 1 commit
  23. 01 Oct, 2013 1 commit
  24. 27 Sep, 2013 2 commits