Anonymous avatar Anonymous committed b7af644

interface: using brackets for printing variable information

Comments (0)

Files changed (1)

ropemode/interface.py

             root = self.env.ask_directory('Rope project root folder: ')
         if self.project is not None:
             self.close_project()
-        progress = self.env.create_progress('Opening "%s" project' % root)
+        progress = self.env.create_progress('Opening [%s] project' % root)
         self.project = rope.base.project.Project(root)
         if self.env.get('ropemacs-enable-autoimport'):
             underlined = self.env.get('ropemacs-autoimport-underlineds')
     @decorators.global_command('k')
     def close_project(self):
         if self.project is not None:
-            progress = self.env.create_progress('Closing "%s" project' %
+            progress = self.env.create_progress('Closing [%s] project' %
                                                 self.project.address)
             self.project.close()
             self.project = None
     def write_project(self):
         if self.project is not None:
             progress = self.env.create_progress(
-                'Writing "%s" project data to disk' % self.project.address)
+                'Writing [%s] project data to disk' % self.project.address)
             self.project.sync()
             progress.done()
 
         if change is None:
             self.env.message('Nothing to undo!')
             return
-        if self.env.y_or_n('Undo <%s>? ' % str(change)):
+        if self.env.y_or_n('Undo [%s]? ' % str(change)):
             def undo(handle):
                 for changes in self.project.history.undo(task_handle=handle):
                     self._reload_buffers(changes, undo=True)
         if change is None:
             self.env.message('Nothing to redo!')
             return
-        if self.env.y_or_n('Redo <%s>? ' % str(change)):
+        if self.env.y_or_n('Redo [%s]? ' % str(change)):
             def redo(handle):
                 for changes in self.project.history.redo(task_handle=handle):
                     self._reload_buffers(changes)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.