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
1=== modified file 'click/commands/desktophook.py'
2--- click/commands/desktophook.py 2013-08-28 16:00:51 +0000
3+++ click/commands/desktophook.py 2013-09-02 13:52:42 +0000
4@@ -57,12 +57,12 @@
5 It's also OK for target_path to be missing.
6 """
7 try:
8- source_mtime = os.stat(source_path)
9+ source_mtime = os.stat(source_path).st_mtime
10 except OSError as e:
11 if e.errno == errno.ENOENT:
12 return False
13 try:
14- target_mtime = os.stat(target_path)
15+ target_mtime = os.stat(target_path).st_mtime
16 except OSError as e:
17 if e.errno == errno.ENOENT:
18 return True

Subscribers

People subscribed via source and target branches

to all changes: