Changeset 2190 for pykota/trunk
- Timestamp:
- 03/31/05 00:31:34 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/ipp.py
r2147 r2190 109 109 return value 110 110 get = __getitem__ 111 112 def keys(self) : 113 """Fakes a dictionnary .keys() method.""" 114 return self._attributes.keys() 111 115 112 116 def parseTag(self) : … … 176 180 message = IPPMessage(infile.read()) 177 181 infile.close() 178 print "Client hostname : %s" % message["job-originating-host-name"] 182 for key in message.keys() : 183 print "%s : %s" % (key, message[key])