Changeset 569c377 for server/lib/ippvalue.py
- Timestamp:
- Mar 10, 2011, 2:04:52 AM (14 years ago)
- Branches:
- no-cups
- Children:
- 7a1c039
- Parents:
- 0e5cdb3
- git-author:
- Quentin Smith <quentin@…> (03/10/11 02:04:52)
- git-committer:
- Quentin Smith <quentin@…> (03/10/11 02:04:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/lib/ippvalue.py
ra6a1f43 r569c377 99 99 value = struct.unpack('>i', packed_value)[0] 100 100 elif value_tag == IntegerTags.BOOLEAN: 101 value = struct.unpack('> ?', packed_value)[0]101 value = struct.unpack('>b', packed_value)[0] 102 102 elif value_tag == IntegerTags.ENUM: 103 103 value = struct.unpack('>i', packed_value)[0] … … 196 196 packed_value = struct.pack('>i', self.value) 197 197 elif self.value_tag == IntegerTags.BOOLEAN: 198 packed_value = struct.pack('> ?', self.value)198 packed_value = struct.pack('>b', self.value) 199 199 elif self.value_tag == IntegerTags.ENUM: 200 200 packed_value = struct.pack('>i', self.value)
Note: See TracChangeset
for help on using the changeset viewer.