Merge lp:~sergiusens/click/older into lp:click

Proposed by Sergio Schvezov
Status: Merged
Merged at revision: 222
Proposed branch: lp:~sergiusens/click/older
Merge into: lp:click
Diff against target: 18 lines (+2/-2)
1 file modified
click/commands/desktophook.py (+2/-2)
To merge this branch: bzr merge lp:~sergiusens/click/older
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+183466@code.launchpad.net

Description of the change

Of the three click packages currently installed the desktop file was only being processed for the dropping letters package.

To post a comment you must log in.
lp:~sergiusens/click/older updated
223. By Sergio Schvezov

reverting if/iff

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'click/commands/desktophook.py'
--- click/commands/desktophook.py 2013-08-28 16:00:51 +0000
+++ click/commands/desktophook.py 2013-09-02 13:52:42 +0000
@@ -57,12 +57,12 @@
57 It's also OK for target_path to be missing.57 It's also OK for target_path to be missing.
58 """58 """
59 try:59 try:
60 source_mtime = os.stat(source_path)60 source_mtime = os.stat(source_path).st_mtime
61 except OSError as e:61 except OSError as e:
62 if e.errno == errno.ENOENT:62 if e.errno == errno.ENOENT:
63 return False63 return False
64 try:64 try:
65 target_mtime = os.stat(target_path)65 target_mtime = os.stat(target_path).st_mtime
66 except OSError as e:66 except OSError as e:
67 if e.errno == errno.ENOENT:67 if e.errno == errno.ENOENT:
68 return True68 return True

Subscribers

People subscribed via source and target branches

to all changes: