diff python/ppci/buildtasks.py @ 342:86b02c98a717 devel

Moved target directory
author Windel Bouwman
date Sat, 01 Mar 2014 15:40:31 +0100
parents b00219172a42
children 3bb7dcfe5529
line wrap: on
line diff
--- a/python/ppci/buildtasks.py	Fri Feb 28 18:07:14 2014 +0100
+++ b/python/ppci/buildtasks.py	Sat Mar 01 15:40:31 2014 +0100
@@ -15,7 +15,7 @@
 from .assembler import Assembler
 from .objectfile import ObjectFile
 from .linker import Linker
-import outstream
+from .outstream import BinaryOutputStream
 
 
 class BuildTask(Task):
@@ -32,7 +32,7 @@
         super().__init__('Assemble')
         self.source = source
         self.output = output_object
-        self.ostream = outstream.BinaryOutputStream(self.output)
+        self.ostream = BinaryOutputStream(self.output)
         self.assembler = Assembler(target, self.ostream)
 
     def run(self):
@@ -74,7 +74,7 @@
             # Code generation:
             d = {'ircode':ircode}
             self.logger.debug('Starting code generation for {}'.format(ircode), extra=d)
-            o = outstream.BinaryOutputStream(self.output)
+            o = BinaryOutputStream(self.output)
             cg.generate(ircode, o)
 
         if not c3b.ok: