Commits

Chris Miles  committed cea1bc9

Prevent relativizing zones when saving.

Patch submitted by Harold Jones.

  • Participants
  • Parent commits 84ad338

Comments (0)

Files changed (2)

File easyzone/easyzone.py

         
         if not filename:
             filename = self.filename
-        self._zone.to_file(filename)
+        self._zone.to_file(filename, relativize=False)
     
 
 

File tests/easyzone_test.py

     
     def test_file_size(self):
         size = os.stat(self.saved_filename)[6]
-        self.failUnlessEqual(size, 299)
+        self.failUnlessEqual(size, 534)
     
     def test_save_autoserial_greater(self):
         saved_filename = tempfile.mkstemp()[1]