Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-15 22:50:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-15 22:50:51 +0400
commiteb22b5248229494bcab091e68cf7a354fe0cc0e3 (patch)
tree448c955af512c246583d36cc3a4c8caea7f3c831 /release/scripts/startup/bl_operators/image.py
parente79c29a1d6985a4b1978a547f80ba6fc6be6b475 (diff)
style cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_operators/image.py')
-rw-r--r--release/scripts/startup/bl_operators/image.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/image.py b/release/scripts/startup/bl_operators/image.py
index 6af6488e86b..f2e5e57fad8 100644
--- a/release/scripts/startup/bl_operators/image.py
+++ b/release/scripts/startup/bl_operators/image.py
@@ -121,12 +121,14 @@ class SaveDirty(Operator):
if image.packed_file:
if image.library:
self.report({'WARNING'},
- "Packed library image: %r from library %r can't be re-packed" %
+ "Packed library image: %r from library %r"
+ " can't be re-packed" %
(image.name, image.library.filepath))
else:
image.pack(as_png=True)
else:
- filepath = bpy.path.abspath(image.filepath, library=image.library)
+ filepath = bpy.path.abspath(image.filepath,
+ library=image.library)
if "\\" not in filepath and "/" not in filepath:
self.report({'WARNING'}, "Invalid path: " + filepath)
elif filepath in unique_paths: