summaryrefslogtreecommitdiff
path: root/cloudinit/cmd/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-15 21:11:44 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-15 21:11:44 -0400
commit8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f (patch)
tree88dea04a2a8579ffdca779834ed7b70cb1cb0836 /cloudinit/cmd/__init__.py
parent946b0f5542ffb43149f60b5dd50b2fb450d23713 (diff)
parentb77f11b35bf0978247fc88d0f4239c5bd4f65d66 (diff)
downloadvyos-cloud-init-8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f.tar.gz
vyos-cloud-init-8311e8f7a2d4ad782015c0eb4d22efd0c5a8af0f.zip
move 'main' into cloudinit/cmd/ for easier testing
This moves bin/cloud-init's content into cloudinit/cmd/main.py, and then fixes the pep8/flake8 issues with that. The end result is easier testing of main.
Diffstat (limited to 'cloudinit/cmd/__init__.py')
-rw-r--r--cloudinit/cmd/__init__.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/cloudinit/cmd/__init__.py b/cloudinit/cmd/__init__.py
new file mode 100644
index 00000000..da124641
--- /dev/null
+++ b/cloudinit/cmd/__init__.py
@@ -0,0 +1,21 @@
+# vi: ts=4 expandtab
+#
+# Copyright (C) 2012 Canonical Ltd.
+# Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
+# Copyright (C) 2012 Yahoo! Inc.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+# Author: Juerg Haefliger <juerg.haefliger@hp.com>
+# Author: Joshua Harlow <harlowja@yahoo-inc.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.