Commits

Anonymous committed a2e7b88

refactor: fixed missing () reported by Detlev Offenbach

  • Participants
  • Parent commits 92467cb

Comments (0)

Files changed (1)

File ropeide/refactor.py

         pattern = self.pattern.get('1.0', 'end-1c')
         goal = self.goal.get('1.0', 'end-1c')
         imports = [line for line in self.imports.get('1.0', 'end').splitlines()
-                   if line.strip]
+                   if line.strip()]
         args = self._get_args_dict()
         restructuring = rope.refactor.restructure.Restructure(
             self.project, pattern, goal, args=args, imports=imports)