[PATCH] python/osmo-python-tests[master]: cosmetic: setup.py: tweak indenting, add vim comment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Jan 9 11:57:19 UTC 2018


Review at  https://gerrit.osmocom.org/5694

cosmetic: setup.py: tweak indenting, add vim comment

We usually do only space indenting in our py code, replace tabs with spaces.

Change to one script path per line for easier patch reading in the future.

Add a vim expandtab comment.

Change-Id: I8a501715127c2583a630b1efb0d5316574eea173
---
M setup.py
1 file changed, 16 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/94/5694/1

diff --git a/setup.py b/setup.py
index bab9c38..e725334 100755
--- a/setup.py
+++ b/setup.py
@@ -20,16 +20,21 @@
 import sys
 
 if sys.version_info.major == 2:
-	scripts = ["scripts/osmodumpdoc.py",  "scripts/osmotestconfig.py",
-	           "scripts/osmotestvty.py"]
+    scripts = [
+        "scripts/osmodumpdoc.py",
+        "scripts/osmotestconfig.py",
+        "scripts/osmotestvty.py",
+        ]
 elif sys.version_info.major == 3:
-	scripts = ["scripts/osmo_interact_vty.py",
-		   "scripts/osmo_interact_ctrl.py",
-                   "scripts/osmo_ctrl.py",
-		   "scripts/soap.py",
-		   "scripts/twisted_ipa.py",
-		   "scripts/osmo_verify_transcript_vty.py",
-		   "scripts/osmo_verify_transcript_ctrl.py"]
+    scripts = [
+        "scripts/osmo_interact_vty.py",
+        "scripts/osmo_interact_ctrl.py",
+        "scripts/osmo_ctrl.py",
+        "scripts/soap.py",
+        "scripts/twisted_ipa.py",
+        "scripts/osmo_verify_transcript_vty.py",
+        "scripts/osmo_verify_transcript_ctrl.py",
+        ]
 
 setup(
     name = 'osmopython',
@@ -41,3 +46,5 @@
     author = "Katerina Barone-Adesi",
     author_email = "kat.obsc at gmail.com"
 )
+
+# vim: expandtab tabstop=4 shiftwidth=4

-- 
To view, visit https://gerrit.osmocom.org/5694
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a501715127c2583a630b1efb0d5316574eea173
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list