mirror of https://gitlab.com/pamhyr/pamhyr2
Pamhyr: Fix pep8.
parent
3585b29b03
commit
6288f039d2
|
|
@ -462,7 +462,10 @@ class ProfileXYZ(Profile, SQLSubModel):
|
||||||
"name": point[3],
|
"name": point[3],
|
||||||
}
|
}
|
||||||
|
|
||||||
pt = PointXYZ(id=-1, **named_args, profile=self, status=self._status)
|
pt = PointXYZ(
|
||||||
|
id=-1, **named_args, profile=self,
|
||||||
|
status=self._status
|
||||||
|
)
|
||||||
self._points.append(pt)
|
self._points.append(pt)
|
||||||
|
|
||||||
self.modified()
|
self.modified()
|
||||||
|
|
@ -524,7 +527,10 @@ class ProfileXYZ(Profile, SQLSubModel):
|
||||||
Returns:
|
Returns:
|
||||||
Nothing.
|
Nothing.
|
||||||
"""
|
"""
|
||||||
point_xyz = PointXYZ(x=0., y=0., z=0., profile=self, status=self._status)
|
point_xyz = PointXYZ(
|
||||||
|
x=0., y=0., z=0., profile=self,
|
||||||
|
status=self._status
|
||||||
|
)
|
||||||
self.points.append(point_xyz)
|
self.points.append(point_xyz)
|
||||||
|
|
||||||
self.modified()
|
self.modified()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue