Contribuinte só é necessário em outros módulos para testes.
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Sat, 15 Mar 2014 00:39:43 +0000 (21:39 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Sat, 15 Mar 2014 00:40:45 +0000 (21:40 -0300)
src/bens.py
src/rendimentoPJ.py

index d70ea33..edb57b8 100644 (file)
@@ -16,7 +16,6 @@
 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # -*- mode: python; encoding: utf-8; -*-
 import xml.dom.minidom
-from contribuinte import Contribuinte
 
 class Bem:
     def __init__(self, el):
@@ -56,6 +55,7 @@ class Bens:
 
 if __name__ == '__main__':
     import sys
+    from contribuinte import Contribuinte
 
     contribuinte = Contribuinte(sys.argv[1])
     bens = Bens(contribuinte)
index b3958c1..54a5492 100644 (file)
@@ -16,7 +16,6 @@
 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # -*- mode: python; encoding: utf-8; -*-
 import xml.dom.minidom
-from contribuinte import Contribuinte
 
 class RendimentoPJ:
     def __init__(self, el = None):
@@ -73,6 +72,7 @@ class RendimentosPJ:
 
 if __name__ == '__main__':
     import sys
+    from contribuinte import Contribuinte
 
     contribuinte = Contribuinte(sys.argv[1])
     rendimentos = RendimentosPJ(contribuinte)