make zone.py top-level
authorRalf Jung <post@ralfj.de>
Thu, 13 Nov 2014 20:08:15 +0000 (21:08 +0100)
committerRalf Jung <post@ralfj.de>
Thu, 13 Nov 2014 20:08:15 +0000 (21:08 +0100)
.gitignore
db.example.com.py
zone.py [moved from zonemaker/zone.py with 100% similarity]
zonemaker [moved from zone-maker with 98% similarity]
zonemaker/__init__.py [deleted file]

index af452c8fb5168569452b8c04a6f5dad0d39969ef..c07efa5c2e6da8a41ac0e14d75659f654c543ad9 100644 (file)
@@ -1,2 +1,3 @@
 __pycache__
+README.html
 *.srl
index ad8f957db3bc1e69d763ce0a2cff9777303440c7..dc34985655ddd8aab7219bdc3490d47758074ec1 100644 (file)
@@ -1,4 +1,4 @@
-from zonemaker.zone import *
+from zone import *
 
 # Our IP addresses; we have machine one and machine two.
 one4 = A("172.16.254.1") # for each record type, there's a corresponding class with the same name
similarity index 100%
rename from zonemaker/zone.py
rename to zone.py
similarity index 98%
rename from zone-maker
rename to zonemaker
index 396a8b972a22fda181bfe16d04d3725532c472a9..e852d922a515745a0880366f9b0d9e5bce991173 100755 (executable)
+++ b/zonemaker
@@ -27,7 +27,7 @@
 # either expressed or implied, of the FreeBSD Project.
 
 import sys, os
-from zonemaker.zone import Zone
+from zone import Zone
 #import typing
 
 def load_module(name, path, write_bytecode = False):
diff --git a/zonemaker/__init__.py b/zonemaker/__init__.py
deleted file mode 100644 (file)
index 5736ef8..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (c) 2014, Ralf Jung <post@ralfj.de>
-# All rights reserved.
-# 
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 
-# 1. Redistributions of source code must retain the above copyright notice, this
-#    list of conditions and the following disclaimer. 
-# 2. Redistributions in binary form must reproduce the above copyright notice,
-#    this list of conditions and the following disclaimer in the documentation
-#    and/or other materials provided with the distribution.
-# 
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 
-# The views and conclusions contained in the software and documentation are those
-# of the authors and should not be interpreted as representing official policies, 
-# either expressed or implied, of the FreeBSD Project.