/[opental]/opental/pax/utils.py
ViewVC logotype

Diff of /opental/pax/utils.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by lalo, Thu Feb 27 18:37:50 2003 UTC revision 1.11 by lalo, Sun Apr 13 13:03:15 2003 UTC
# Line 40  def pack_list(self): Line 40  def pack_list(self):
40      "remove Nones, expand tuples"      "remove Nones, expand tuples"
41      if hasattr(self, 'join'):      if hasattr(self, 'join'):
42          return self          return self
43        if hasattr(self, pack):
44            return self.pack()
45      is_tuple = type(self) is types.TupleType      is_tuple = type(self) is types.TupleType
46      result = []      result = []
47      for child in self:      for child in self:

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26