diff options
author | acxz | 2020-05-24 17:39:57 -0400 |
---|---|---|
committer | acxz | 2020-05-24 17:39:57 -0400 |
commit | 622b21a2571d944afef3e6e21f50df640e8e2867 (patch) | |
tree | 065991e99fd0e865ad951fb29b57137bddd92993 /spawn_model.patch | |
parent | f978ebe13013a49f0abf3d4ddebe00183180aab5 (diff) | |
download | aur-622b21a2571d944afef3e6e21f50df640e8e2867.tar.gz |
remove unneeded patch
Diffstat (limited to 'spawn_model.patch')
-rw-r--r-- | spawn_model.patch | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/spawn_model.patch b/spawn_model.patch deleted file mode 100644 index 720c302a9862..000000000000 --- a/spawn_model.patch +++ /dev/null @@ -1,84 +0,0 @@ ---- _SpawnModel.py.orig 2019-12-03 12:29:52.077438274 -0500 -+++ _SpawnModel.py 2019-12-03 12:31:37.704109431 -0500 -@@ -93,19 +93,19 @@ - try: - _x = self.model_name - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) - _x = self.model_xml - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) - _x = self.robot_namespace - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) -@@ -113,7 +113,7 @@ - buff.write(_get_struct_7d().pack(_x.initial_pose.position.x, _x.initial_pose.position.y, _x.initial_pose.position.z, _x.initial_pose.orientation.x, _x.initial_pose.orientation.y, _x.initial_pose.orientation.z, _x.initial_pose.orientation.w)) - _x = self.reference_frame - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) -@@ -183,19 +183,19 @@ - try: - _x = self.model_name - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) - _x = self.model_xml - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) - _x = self.robot_namespace - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) -@@ -203,7 +203,7 @@ - buff.write(_get_struct_7d().pack(_x.initial_pose.position.x, _x.initial_pose.position.y, _x.initial_pose.position.z, _x.initial_pose.orientation.x, _x.initial_pose.orientation.y, _x.initial_pose.orientation.z, _x.initial_pose.orientation.w)) - _x = self.reference_frame - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) -@@ -333,7 +333,7 @@ - buff.write(_get_struct_B().pack(self.success)) - _x = self.status_message - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) -@@ -375,7 +375,7 @@ - buff.write(_get_struct_B().pack(self.success)) - _x = self.status_message - length = len(_x) -- if python3 or type(_x) == unicode: -+ if type(_x) == str: - _x = _x.encode('utf-8') - length = len(_x) - buff.write(struct.pack('<I%ss'%length, length, _x)) |