summaryrefslogtreecommitdiff
path: root/examples/python
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-09-25 13:13:40 +0200
committerThomas Haller <thaller@redhat.com>2019-10-01 07:50:52 +0200
commitabff46cacf54b4ecaf129d2e7c96da69b7b4fdac (patch)
tree3d087d9891cda61b62c7cac30ce5723f3ad1a715 /examples/python
parent9683521521b0ad65fa6da171627b6f7afb415fc6 (diff)
downloadNetworkManager-abff46cacf54b4ecaf129d2e7c96da69b7b4fdac.tar.gz
all: manually drop code comments with file description
Diffstat (limited to 'examples/python')
-rwxr-xr-xexamples/python/gi/add_connection.py1
-rwxr-xr-xexamples/python/gi/checkpoint.py3
-rwxr-xr-xexamples/python/gi/deactivate-all.py1
-rwxr-xr-xexamples/python/gi/device-state-ip4config.py1
-rwxr-xr-xexamples/python/gi/dns.py1
-rwxr-xr-xexamples/python/gi/get-lldp-neighbors.py1
-rwxr-xr-xexamples/python/gi/get_ips.py1
-rwxr-xr-xexamples/python/gi/list-connections.py1
-rwxr-xr-xexamples/python/gi/nm-wg-set1
-rwxr-xr-xexamples/python/gi/setting-user-data.py2
-rwxr-xr-xexamples/python/gi/show-wifi-networks.py2
11 files changed, 5 insertions, 10 deletions
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
index cd7ea4225a..b650b9f388 100755
--- a/examples/python/gi/add_connection.py
+++ b/examples/python/gi/add_connection.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
-
#
# Copyright 2014 Red Hat, Inc.
#
diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py
index ba4e1dc650..c5b20d683c 100755
--- a/examples/python/gi/checkpoint.py
+++ b/examples/python/gi/checkpoint.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
-
+#
# Copyright 2017 Red Hat, Inc.
+#
import sys
diff --git a/examples/python/gi/deactivate-all.py b/examples/python/gi/deactivate-all.py
index 6f0e3ab92e..a10c0ebb4b 100755
--- a/examples/python/gi/deactivate-all.py
+++ b/examples/python/gi/deactivate-all.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
-
#
# Copyright 2015 Red Hat, Inc.
#
diff --git a/examples/python/gi/device-state-ip4config.py b/examples/python/gi/device-state-ip4config.py
index cfead08197..18848d07fc 100755
--- a/examples/python/gi/device-state-ip4config.py
+++ b/examples/python/gi/device-state-ip4config.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
-#
# Copyright (C) 2012 Red Hat, Inc.
#
diff --git a/examples/python/gi/dns.py b/examples/python/gi/dns.py
index ecca579400..f93f97e514 100755
--- a/examples/python/gi/dns.py
+++ b/examples/python/gi/dns.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
-#
# Copyright (C) 2016 Red Hat, Inc.
#
diff --git a/examples/python/gi/get-lldp-neighbors.py b/examples/python/gi/get-lldp-neighbors.py
index 2cb1c7f61d..d1bed32c6b 100755
--- a/examples/python/gi/get-lldp-neighbors.py
+++ b/examples/python/gi/get-lldp-neighbors.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
-#
# Copyright (C) 2015 Red Hat, Inc.
#
diff --git a/examples/python/gi/get_ips.py b/examples/python/gi/get_ips.py
index 5a5419b4df..12378117a7 100755
--- a/examples/python/gi/get_ips.py
+++ b/examples/python/gi/get_ips.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
#
-#
# Copyright 2014 Red Hat, Inc.
#
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
index da88726376..eee687c9e8 100755
--- a/examples/python/gi/list-connections.py
+++ b/examples/python/gi/list-connections.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
-
#
# Copyright 2012 - 2014 Red Hat, Inc.
#
diff --git a/examples/python/gi/nm-wg-set b/examples/python/gi/nm-wg-set
index 27ce55102c..a151c6094b 100755
--- a/examples/python/gi/nm-wg-set
+++ b/examples/python/gi/nm-wg-set
@@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright 2018 - 2019 Red Hat, Inc.
+#
# nm-wg-set: modify an existing WireGuard connection profile.
#
diff --git a/examples/python/gi/setting-user-data.py b/examples/python/gi/setting-user-data.py
index 4ada5d1ec0..dac81b78a8 100755
--- a/examples/python/gi/setting-user-data.py
+++ b/examples/python/gi/setting-user-data.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
# SPDX-License-Identifier: GPL-2.0+
-
#
# Copyright 2017 Red Hat, Inc.
+#
#
# set and show user-data for a connection:
diff --git a/examples/python/gi/show-wifi-networks.py b/examples/python/gi/show-wifi-networks.py
index 4c7607b30c..e1ee4c3d5d 100755
--- a/examples/python/gi/show-wifi-networks.py
+++ b/examples/python/gi/show-wifi-networks.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-# SPDX-License-Identifier: GPL-2.0+
# coding=utf-8
+# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2013 Red Hat, Inc.
#