Ignore:
Timestamp:
15/12/08 15:16:11 (11 years ago)
Author:
pjkersha
Message:

#941: Completed MyProxyClient egg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/MyProxyClient/myproxy/utils/openssl.py

    r4646 r4647  
    1313__revision__ = '$Id:openssl.py 4643 2008-12-15 14:53:53Z pjkersha $' 
    1414 
    15 import re, os 
     15import re 
     16import os 
    1617from ConfigParser import SafeConfigParser 
    1718from M2Crypto.X509 import X509_Name 
     19 
    1820 
    1921class OpenSSLConfigError(Exception): 
     
    8082        self._filePath = filePath 
    8183                     
    82  
    8384 
    8485    def _getFilePath(self): 
     
    172173        Reformat _sections to """ 
    173174        try: 
    174             file = open(self._filePathfilePath) 
     175            file = open(self._filePath) 
    175176            fileTxt = file.read() 
    176177        except Exception, e: 
     
    182183        SafeConfigParser.readfp(self, file) 
    183184         
    184         # Filter section names and reomve comments from options 
     185        # Filter section names and remove comments from options 
    185186        for section, val in self._sections.items(): 
    186187            newSection = section 
Note: See TracChangeset for help on using the changeset viewer.