Fix console output for management commands
From Django's documentation: When you are using management commands and wish to provide console output, you should write to self.stdout and self.stderr, instead of printing to stdout and stderr directly.
This patch fixes the managements commands to use the proper...
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
List all images in snf-manage image-list
Until now 'snf-manage image-list' management command printed only imagesthat were public, or accessible by a specific user. This commit changesthis command to print all images (regardless of the owner).
Bypass authentication in image-show command
Make image-show management command to show information about an imagewithout passing a userid. Use 'image_list' command of ImageBackendinstead of 'get_image' because the second one will raise Forbidden fornon-public images....
Fix small typo in import statement
Move common code for mngmt commands to webproject
Move cyclades functions that are useful for all managament commands, likepprint_table or parse_filters, to snf-webproject.
Fix pep8 warnings
Update management command to display user images
Add function for pretty printing tables
Improve management commands
View revisions
Also available in: Atom