Commit 134c66d5 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Geometry: Fix pep8.

Showing with 1 addition and 2 deletions
+1 -2
...@@ -519,7 +519,6 @@ class Reach(SQLSubModel): ...@@ -519,7 +519,6 @@ class Reach(SQLSubModel):
self._update_profile_numbers() self._update_profile_numbers()
return imported_profiles return imported_profiles
@timer @timer
def read_file_st(self, filename): def read_file_st(self, filename):
"""Read the ST file """Read the ST file
......
...@@ -198,7 +198,6 @@ class GeometryReachTableModel(PamhyrTableModel): ...@@ -198,7 +198,6 @@ class GeometryReachTableModel(PamhyrTableModel):
self.layoutAboutToBeChanged.emit() self.layoutAboutToBeChanged.emit()
self.layoutChanged.emit() self.layoutChanged.emit()
def duplicate(self, rows, profiles): def duplicate(self, rows, profiles):
self.layoutAboutToBeChanged.emit() self.layoutAboutToBeChanged.emit()
......
...@@ -194,6 +194,7 @@ class DuplicateCommand(QUndoCommand): ...@@ -194,6 +194,7 @@ class DuplicateCommand(QUndoCommand):
for profile in self._profiles: for profile in self._profiles:
self._reach.insert_profile(self._rows[0], profile) self._reach.insert_profile(self._rows[0], profile)
class ImportCommand(QUndoCommand): class ImportCommand(QUndoCommand):
def __init__(self, reach, row, filename): def __init__(self, reach, row, filename):
QUndoCommand.__init__(self) QUndoCommand.__init__(self)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment