summaryrefslogtreecommitdiff
path: root/cloudinit/cmd/__init__.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-15 15:57:44 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-15 15:57:44 -0400
commit412d5d34c424da0f5c291e9f9e706098c541017c (patch)
treec8612cba956a3ac9c11059b5b3293119375d2042 /cloudinit/cmd/__init__.py
parent632d56a23a947a23e18fa234d675e34a1a119593 (diff)
parentb77f11b35bf0978247fc88d0f4239c5bd4f65d66 (diff)
downloadvyos-cloud-init-412d5d34c424da0f5c291e9f9e706098c541017c.tar.gz
vyos-cloud-init-412d5d34c424da0f5c291e9f9e706098c541017c.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/>.