Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/terminal.py
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-05-28 01:30:32 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-05-28 01:30:32 (GMT)
commit69b5696332faa768c9e937f7b06ecfce32041d52 (patch)
tree2f951777d485939357053c6c3de2da2078da3c5a /terminal.py
parent0acb160715203db2a9c330d51f3cb1ec72f19dc7 (diff)
pep8 fixes
Diffstat (limited to 'terminal.py')
-rw-r--r--terminal.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/terminal.py b/terminal.py
index a0f97ba..1f16e03 100644
--- a/terminal.py
+++ b/terminal.py
@@ -245,9 +245,9 @@ class TerminalActivity(activity.Activity):
# FIXME have to resend motion events to parent, see #1402
vt.connect('motion-notify-event', self.__motion_notify_cb)
- vt.drag_dest_set(gtk.DEST_DEFAULT_MOTION|gtk.DEST_DEFAULT_DROP,
+ vt.drag_dest_set(gtk.DEST_DEFAULT_MOTION | gtk.DEST_DEFAULT_DROP,
[('text/plain', 0, 0), ('STRING', 0, 1)],
- gtk.gdk.ACTION_DEFAULT|
+ gtk.gdk.ACTION_DEFAULT |
gtk.gdk.ACTION_COPY)
vt.connect('drag_data_received', self.__drag_data_received_cb)
@@ -295,7 +295,7 @@ class TerminalActivity(activity.Activity):
# Restore the working directory.
if 'cwd' in tab_state and os.path.exists(tab_state['cwd']):
- try:
+ try:
os.chdir(tab_state['cwd'])
except:
# ACLs may deny access