From: Anthony B. <ant...@us...> - 2002-03-19 12:26:18
|
Update of /cvsroot/pydns/pydns/DNS In directory usw-pr-cvs1:/tmp/cvs-serv24393 Modified Files: Base.py Class.py Opcode.py Status.py Type.py Log Message: death to leading tabs. Index: Base.py =================================================================== RCS file: /cvsroot/pydns/pydns/DNS/Base.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Base.py 19 Mar 2002 10:30:33 -0000 1.8 --- Base.py 19 Mar 2002 12:26:13 -0000 1.9 *************** *** 135,139 **** def req(self,*name,**args): ! " needs a refactoring " import time self.argparse(name,args) --- 135,139 ---- def req(self,*name,**args): ! " needs a refactoring " import time self.argparse(name,args) *************** *** 202,207 **** if not self.async: return self.response ! else: ! return None #class DnsAsyncRequest(DnsRequest): --- 202,207 ---- if not self.async: return self.response ! else: ! return None #class DnsAsyncRequest(DnsRequest): *************** *** 209,214 **** " an asynchronous request object. out of date, probably broken " def __init__(self,*name,**args): ! DnsRequest.__init__(self, *name, **args) ! # XXX todo if args.has_key('done') and args['done']: self.donefunc=args['done'] --- 209,214 ---- " an asynchronous request object. out of date, probably broken " def __init__(self,*name,**args): ! DnsRequest.__init__(self, *name, **args) ! # XXX todo if args.has_key('done') and args['done']: self.donefunc=args['done'] *************** *** 241,244 **** --- 241,247 ---- # # $Log$ + # Revision 1.9 2002/03/19 12:26:13 anthonybaxter + # death to leading tabs. + # # Revision 1.8 2002/03/19 10:30:33 anthonybaxter # first round of major bits and pieces. The major stuff here (summarised Index: Class.py =================================================================== RCS file: /cvsroot/pydns/pydns/DNS/Class.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Class.py 9 Aug 2001 09:08:55 -0000 1.3 --- Class.py 19 Mar 2002 12:26:13 -0000 1.4 *************** *** 1,15 **** ! # $Id$ ! # ! # This file is part of the pydns project. ! # Homepage: http://pydns.sourceforge.net ! # ! # This code is covered by the standard Python License. ! # - # CLASS values (section 3.2.4) IN = 1 # the Internet CS = 2 # the CSNET class (Obsolete - used only for examples in ! # some obsolete RFCs) CH = 3 # the CHAOS class HS = 4 # Hesiod [Dyer 87] --- 1,17 ---- ! """ ! $Id$ ! ! This file is part of the pydns project. ! Homepage: http://pydns.sourceforge.net ! ! This code is covered by the standard Python License. ! ! CLASS values (section 3.2.4) ! """ IN = 1 # the Internet CS = 2 # the CSNET class (Obsolete - used only for examples in ! # some obsolete RFCs) CH = 3 # the CHAOS class HS = 4 # Hesiod [Dyer 87] *************** *** 25,36 **** classmap = {} for _name in _names: ! if _name[0] != '_': classmap[eval(_name)] = _name def classstr(klass): ! if classmap.has_key(klass): return classmap[klass] ! else: return `klass` # # $Log$ # Revision 1.3 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file --- 27,41 ---- classmap = {} for _name in _names: ! if _name[0] != '_': classmap[eval(_name)] = _name def classstr(klass): ! if classmap.has_key(klass): return classmap[klass] ! else: return `klass` # # $Log$ + # Revision 1.4 2002/03/19 12:26:13 anthonybaxter + # death to leading tabs. + # # Revision 1.3 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file Index: Opcode.py =================================================================== RCS file: /cvsroot/pydns/pydns/DNS/Opcode.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Opcode.py 9 Aug 2001 09:08:55 -0000 1.3 --- Opcode.py 19 Mar 2002 12:26:13 -0000 1.4 *************** *** 1,11 **** ! # $Id$ ! # ! # This file is part of the pydns project. ! # Homepage: http://pydns.sourceforge.net ! # ! # This code is covered by the standard Python License. ! # - # Opcode values in message header (section 4.1.1) QUERY = 0 --- 1,14 ---- ! """ ! $Id$ ! ! This file is part of the pydns project. ! Homepage: http://pydns.sourceforge.net ! ! This code is covered by the standard Python License. ! ! Opcode values in message header (section 4.1.1) ! """ ! QUERY = 0 *************** *** 26,29 **** --- 29,35 ---- # # $Log$ + # Revision 1.4 2002/03/19 12:26:13 anthonybaxter + # death to leading tabs. + # # Revision 1.3 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file Index: Status.py =================================================================== RCS file: /cvsroot/pydns/pydns/DNS/Status.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Status.py 9 Aug 2001 09:08:55 -0000 1.3 --- Status.py 19 Mar 2002 12:26:13 -0000 1.4 *************** *** 1,11 **** ! # $Id$ ! # ! # This file is part of the pydns project. ! # Homepage: http://pydns.sourceforge.net ! # ! # This code is covered by the standard Python License. ! # ! # Status values in message header NOERROR = 0 --- 1,12 ---- ! """ ! $Id$ ! This file is part of the pydns project. ! Homepage: http://pydns.sourceforge.net ! ! This code is covered by the standard Python License. ! ! Status values in message header ! """ NOERROR = 0 *************** *** 29,32 **** --- 30,36 ---- # # $Log$ + # Revision 1.4 2002/03/19 12:26:13 anthonybaxter + # death to leading tabs. + # # Revision 1.3 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file Index: Type.py =================================================================== RCS file: /cvsroot/pydns/pydns/DNS/Type.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Type.py 9 Aug 2001 09:08:55 -0000 1.4 --- Type.py 19 Mar 2002 12:26:13 -0000 1.5 *************** *** 1,11 **** ! # $Id$ ! # ! # This file is part of the pydns project. ! # Homepage: http://pydns.sourceforge.net ! # ! # This code is covered by the standard Python License. ! # ! # TYPE values (section 3.2.2) A = 1 # a host address --- 1,12 ---- ! """ ! $Id$ ! This file is part of the pydns project. ! Homepage: http://pydns.sourceforge.net ! ! This code is covered by the standard Python License. ! ! TYPE values (section 3.2.2) ! """ A = 1 # a host address *************** *** 46,56 **** typemap = {} for _name in _names: ! if _name[0] != '_': typemap[eval(_name)] = _name def typestr(type): ! if typemap.has_key(type): return typemap[type] ! else: return `type` # # $Log$ # Revision 1.4 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file --- 47,60 ---- typemap = {} for _name in _names: ! if _name[0] != '_': typemap[eval(_name)] = _name def typestr(type): ! if typemap.has_key(type): return typemap[type] ! else: return `type` # # $Log$ + # Revision 1.5 2002/03/19 12:26:13 anthonybaxter + # death to leading tabs. + # # Revision 1.4 2001/08/09 09:08:55 anthonybaxter # added identifying header to top of each file |