[gimp/meson: 89/127] Fix tabs/spaces consistency.
- From: Félix Piédallu <fpiedallu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/meson: 89/127] Fix tabs/spaces consistency.
- Date: Fri, 2 Feb 2018 16:07:14 +0000 (UTC)
commit 18ff1e0de884e2faaea2b992ad5691b06666f53d
Author: Félix Piédallu <felix piedallu me>
Date: Wed Jan 10 13:34:24 2018 +0100
Fix tabs/spaces consistency.
plug-ins/pygimp/py-compile | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
---
diff --git a/plug-ins/pygimp/py-compile b/plug-ins/pygimp/py-compile
index b60649d..0b31270 100755
--- a/plug-ins/pygimp/py-compile
+++ b/plug-ins/pygimp/py-compile
@@ -2,26 +2,26 @@
# called as "py-compile [--basedir DIR] PY_FILES ...
if [ -z "$PYTHON" ]; then
- PYTHON=python
+ PYTHON=python
fi
basedir=
case "$1" in
--basedir)
- basedir=$2
- shift 2
- ;;
+ basedir=$2
+ shift 2
+ ;;
--help)
- echo "Usage: py-compile [--basedir DIR] PY_FILES ..."
- echo "Byte compile some python scripts. This should be performed"
- echo "after they have been moved to the final installation location"
- exit 0
- ;;
+ echo "Usage: py-compile [--basedir DIR] PY_FILES ..."
+ echo "Byte compile some python scripts. This should be performed"
+ echo "after they have been moved to the final installation location"
+ exit 0
+ ;;
--version)
- echo "py-compile version 0.0"
- exit 0
- ;;
+ echo "py-compile version 0.0"
+ exit 0
+ ;;
esac
if [ $# = 0 ]; then
@@ -45,7 +45,7 @@ print 'Byte-compiling python modules...'
for file in string.split(files):
$trans
if not os.path.exists(path) or not (len(path) >= 3 and path[-3:] == '.py'):
- continue
+ continue
print file,
sys.stdout.flush()
py_compile.compile(path)
@@ -60,9 +60,8 @@ print 'Byte-compiling python modules (optimised versions) ...'
for file in string.split(files):
$trans
if not os.path.exists(path) or not (len(path) >= 3 and path[-3:] == '.py'):
- continue
+ continue
print file,
sys.stdout.flush()
py_compile.compile(path)
print" 2>/dev/null || :
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]