Support image deletion in batches in v2

Client doesn't support image deletion in batches in v2 now.
It's useful. So it's need to add it.

Change-Id: Idf5a6890b3fd01a65fecab2033b21367c30bc6b1
Closes-bug:#1485407
This commit is contained in:
wangxiyuan
2015-08-17 10:34:22 +08:00
parent d90c7d6896
commit bf02b048bf
3 changed files with 63 additions and 17 deletions
+4
View File
@@ -286,6 +286,10 @@ def exit(msg='', exit_code=1):
sys.exit(exit_code)
def print_err(msg):
print(encodeutils.safe_decode(msg), file=sys.stderr)
def save_image(data, path):
"""Save an image to the specified path.