From ef3dd28a33c538f8cbdc6d75047c821162ab0fc3 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 21 May 2009 10:30:33 -0400 Subject: [PATCH] fixed dumb bug and annoying import issues --HG-- branch : pmacs2 --- aes.py => aesutil.py | 0 buffer/aes.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename aes.py => aesutil.py (100%) diff --git a/aes.py b/aesutil.py similarity index 100% rename from aes.py rename to aesutil.py diff --git a/buffer/aes.py b/buffer/aes.py index e0b60cb..18d2934 100644 --- a/buffer/aes.py +++ b/buffer/aes.py @@ -1,4 +1,4 @@ -import aes +import aesutil from buffer import FileBuffer class AesBuffer(FileBuffer): @@ -6,7 +6,7 @@ class AesBuffer(FileBuffer): def __init__(self, path, password, name=None): '''ab = AesBuffer(path, password)''' FileBuffer.__init__(self, path, name) - self.crypter = aes2.Crypter(password) + self.crypter = aesutil.Crypter(password) def read_filter(self, data): return self.crypter.decrypt(data) def write_filter(self, data):