[MERGED] 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
Thu Jan 11 11:11:55 UTC 2018


Neels Hofmeyr has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I8a501715127c2583a630b1efb0d5316574eea173
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list