updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gmailfs / gmailfs-python27.patch
blob25d657b631f764b3b109f50cce80f2402343f2d7
1 --- gmailfs.py-v8 2010-06-30 11:59:33.000000000 -0400
2 +++ gmailfs.patched 2011-06-28 17:02:38.523353920 -0400
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/python
5 +#!/usr/bin/env python2
6 #@+leo-ver=4
7 #@+node:@file gmailfs.py
8 #@@first
9 @@ -1524,7 +1524,7 @@
10 # messages with the given label
11 #self.imap.debug = 4
12 trash_all = 0
13 - if os.environ["IMAPFS_TRASH_ALL"] != None:
14 + if os.environ.get("IMAPFS_TRASH_ALL"):
15 trash_all = 1
16 if trash_all:
17 print("deleting existing messages...")