~mpontillo/maas/add-logging-for-bug-1627362

« back to all changes in this revision

Viewing changes to etc/maas/templates/commissioning-user-data/snippets/maas_moonshot_autodetect.py

  • Committer: Gavin Panella
  • Date: 2015-12-01 18:12:59 UTC
  • mto: (4489.8.2 python3)
  • mto: This revision was merged to the branch mainline in revision 4533.
  • Revision ID: gavin.panella@canonical.com-20151201181259-9gorn2p3v5o5djis
Remove all remaining Python 2 shims.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
3
 
# 2to3 incorrectly handles multi-line imports from __future__
4
 
# https://bugs.python.org/issue12873
5
 
from __future__ import (absolute_import, print_function, unicode_literals)
6
 
 
7
 
__metaclass__ = type
8
 
 
9
3
import argparse
10
4
import json
11
5
import re