From 03a4f8151e0f73c6e517a9a8896af1aa7c891c42 Mon Sep 17 00:00:00 2001 From: oepen Date: Fri, 29 Jul 2011 20:44:15 +0000 Subject: [PATCH] Code style improvements git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@468 96b47cad-a561-4643-ad3b-153ac7d7599c --- .../src/vpicc/virtualsmartcard/CardGenerator.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/CardGenerator.py b/virtualsmartcard/src/vpicc/virtualsmartcard/CardGenerator.py index 236539b..c792015 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/CardGenerator.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/CardGenerator.py @@ -17,11 +17,12 @@ # virtualsmartcard. If not, see . # -import sys, getpass, anydbm, readline, dircache +import sys, getpass, anydbm, readline from pickle import loads, dumps from TLVutils import pack from virtualsmartcard.utils import inttostring -from virtualsmartcard.SmartcardFilesystem import * +from virtualsmartcard.SmartcardFilesystem import MF, DF, TransparentStructureEF +from virtualsmartcard.ConstantDefinitions import FDB # pgp directory #self.mf.append(DF(parent=self.mf, @@ -126,6 +127,7 @@ class CardGenerator(object): def __generate_cryptoflex(self): from virtualsmartcard.SmartcardSAM import CryptoflexSAM + from virtualsmartcard.SmartcardFilesystem import CryptoflexMF self.mf = CryptoflexMF() self.mf.append(TransparentStructureEF(parent=self.mf, fid=0x0002,