Changeset 3933
- Timestamp:
- 01/11/09 17:41:13 (4 years ago)
- Location:
- branch/PacketManipulator
- Files:
-
- 3 modified
-
PM/Backend/Scapy/serialize.py (modified) (3 diffs)
-
PM/Manager/PreferenceManager.py (modified) (1 diff)
-
PacketManipulator (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branch/PacketManipulator/PM/Backend/Scapy/serialize.py
r3931 r3933 215 215 filter = seq_packet.filter 216 216 217 attr_vals = { (None, u'interval'): str(inter),218 (None, u'filter'): filter or ''}217 attr_vals = {'interval' : str(inter), 218 'filter' : filter or ''} 219 219 220 220 attrs = AttributesImpl(attr_vals) … … 231 231 232 232 for proto in protocols: 233 attr_vals = { (None, u'id'): get_proto_name(proto),234 (None, u'time'): "%.6f" % proto.time}233 attr_vals = {'id' : get_proto_name(proto), 234 'time' : "%.6f" % proto.time} 235 235 236 236 attrs = AttributesImpl(attr_vals) … … 242 242 value = get_field_value(proto, field) 243 243 244 attr_vals = { (None, u'id'): name}244 attr_vals = {'id' : name} 245 245 246 246 self.writer.characters('\n') -
branch/PacketManipulator/PM/Manager/PreferenceManager.py
r3931 r3933 160 160 161 161 attr_vals = { 162 (None, u'id'): key,163 (None, u'value'): str(option.value)162 'id' : key, 163 'value' : str(option.value) 164 164 } 165 165 -
branch/PacketManipulator/PacketManipulator
r3714 r3933 27 27 if os.name == 'nt': 28 28 os.chdir('PM') 29 os.system('python PacketManipulator')29 os.system('python -3 PacketManipulator') 30 30 else: 31 31 os.system('PM/PacketManipulator')
