minideblib.DpkgVarlist
index
minideblib/DpkgVarlist.py

DpkgVarlist.py
#
# This module implements DpkgVarlist, a class which contains
# variables that are using in dpkg source packages.
#
# Unlike the other dpkg files this file is not in RFC822 syntax. Instead
# each variable definition conists of a single line of the form "key=value".
# Comments are not allowed.
#
# Copyright 2001 Wichert Akkerman <wichert@linux.com>
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

 
Modules
       
minideblib.DpkgDatalist
re
string

 
Classes
       
minideblib.DpkgDatalist.DpkgDatalist(UserDict.UserDict, minideblib.DpkgDatalist._DpkgDatalist)
DpkgVarlist

 
class DpkgVarlist(minideblib.DpkgDatalist.DpkgDatalist)
    
Method resolution order:
DpkgVarlist
minideblib.DpkgDatalist.DpkgDatalist
UserDict.UserDict
minideblib.DpkgDatalist._DpkgDatalist

Methods defined here:
load(self, fn)
Load variable data from a file.

Methods inherited from minideblib.DpkgDatalist.DpkgDatalist:
__init__(self, fn='')

Methods inherited from UserDict.UserDict:
__cmp__(self, dict)
__contains__(self, key)
__delitem__(self, key)
__getitem__(self, key)
__len__(self)
__repr__(self)
__setitem__(self, key, item)
clear(self)
copy(self)
get(self, key, failobj=None)
has_key(self, key)
items(self)
iteritems(self)
iterkeys(self)
itervalues(self)
keys(self)
pop(self, key, *args)
popitem(self)
setdefault(self, key, failobj=None)
update(self, dict=None, **kwargs)
values(self)

Class methods inherited from UserDict.UserDict:
fromkeys(cls, iterable, value=None) from __builtin__.classobj

Methods inherited from minideblib.DpkgDatalist._DpkgDatalist:
store(self, fn=None)
Store variable data in a file.