Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / cf / da8f340f95e572687060873039dc57b8080e00
1 Return-Path: <eg@gaute.vetsj.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 109A7431FBD\r
6         for <notmuch@notmuchmail.org>; Sat,  9 Aug 2014 06:59:08 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id MsMP0snf74K9 for <notmuch@notmuchmail.org>;\r
16         Sat,  9 Aug 2014 06:59:00 -0700 (PDT)\r
17 Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com\r
18         [209.85.216.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 5A7A3431FAE\r
21         for <notmuch@notmuchmail.org>; Sat,  9 Aug 2014 06:59:00 -0700 (PDT)\r
22 Received: by mail-qc0-f179.google.com with SMTP id m20so283952qcx.10\r
23         for <notmuch@notmuchmail.org>; Sat, 09 Aug 2014 06:58:59 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:mime-version:in-reply-to:references:date\r
27         :message-id:subject:from:to:cc:content-type;\r
28         bh=xclzp3T28HhxciC+B8maouTH75fkED5U793Yi1BEkEw=;\r
29         b=HPAdzscebpCGWHjgwhVTTcnTdcS4sAVepz2caAk4o42Okp6UVQRp2Vo+E2BbQwjegn\r
30         00WtBQ7gfjWLxcoIRkg8M5qEW/02QlGNtNKc7CxGhLSQaiqi5Zh46bWdLWkAVGEfq9V/\r
31         QT7+BQy6dg80BWEUpBCbTCCHhrStP57avT57Zjvg6GfpwO/jNi9smUwloj3Qc4PXINaP\r
32         uMzfuDFkx9eVKyMYd/y8X0R4UT3gJ52pGDiJeAKgUv4LXrczCyE8SP2jvOxwuA4NFZlM\r
33         VYl1MqSDaQr8FGdxJVku9OqVbmR5kxXJx58fC5WOTp9N2VOZFdFLQ5lmf3sIpJUxa0lI\r
34         ryWA==\r
35 X-Gm-Message-State:\r
36  ALoCoQkAAhJDQcyMzP7SlZG52oczOZX3j8P5kth4N5ylOUhIqDiQi1QIlWXi9hgY3UoQIhFpamjs\r
37 MIME-Version: 1.0\r
38 X-Received: by 10.140.83.168 with SMTP id j37mr29130434qgd.42.1407592738683;\r
39         Sat, 09 Aug 2014 06:58:58 -0700 (PDT)\r
40 Received: by 10.140.86.148 with HTTP; Sat, 9 Aug 2014 06:58:58 -0700 (PDT)\r
41 In-Reply-To: <m2ha1ldawt.fsf@guru.guru-group.fi>\r
42 References: <1407591591-25203-1-git-send-email-eg@gaute.vetsj.com>\r
43         <m2ha1ldawt.fsf@guru.guru-group.fi>\r
44 Date: Sat, 9 Aug 2014 15:58:58 +0200\r
45 Message-ID:\r
46  <CABKe4Ms1BktC4fX973UKuW_of-8z_c2thccZY5XPVChDQB8-KQ@mail.gmail.com>\r
47 Subject: Re: [PATCH] doc/prerst2man.py: swap execfile with an exec call\r
48 From: Gaute Hope <eg@gaute.vetsj.com>\r
49 To: Tomi Ollila <tomi.ollila@iki.fi>\r
50 Content-Type: text/plain; charset=UTF-8\r
51 Cc: notmuch <notmuch@notmuchmail.org>\r
52 X-BeenThere: notmuch@notmuchmail.org\r
53 X-Mailman-Version: 2.1.13\r
54 Precedence: list\r
55 List-Id: "Use and development of the notmuch mail system."\r
56         <notmuch.notmuchmail.org>\r
57 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
59 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
60 List-Post: <mailto:notmuch@notmuchmail.org>\r
61 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
62 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
64 X-List-Received-Date: Sat, 09 Aug 2014 13:59:08 -0000\r
65 \r
66 Aight! Whatever works. This bit me today at least, building notmuch\r
67 git on Arch Linux fails without it.\r
68 \r
69 Cheers, Gaute\r
70 \r
71 On Sat, Aug 9, 2014 at 3:56 PM, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
72 > On Sat, Aug 09 2014, Gaute Hope <eg@gaute.vetsj.com> wrote:\r
73 >\r
74 >> at some point in python 3.* execfile was removed. per\r
75 >> http://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3-2\r
76 >> the execefile has been replaced in the same manner as python 2to3 helper\r
77 >> script would do.\r
78 >>\r
79 >> tested on python 3.4.1 and 2.7.8.\r
80 >> ---\r
81 >\r
82 > Thanks for the patch -- I have use the idea elsewhere with ipython :D\r
83 >\r
84 > Trevor has a patch series which takes care e.g. of this:\r
85 >\r
86 > id:"8cc9dd580ad672527e12f43706f9803b2c8e99d8.1405220724.git.wking@tremily.us"\r
87 >\r
88 > http://article.gmane.org/gmane.mail.notmuch.general/18661\r
89 >\r
90 >\r
91 > Tomi\r
92 >\r
93 >\r
94 >>  doc/prerst2man.py | 3 ++-\r
95 >>  1 file changed, 2 insertions(+), 1 deletion(-)\r
96 >>\r
97 >> diff --git a/doc/prerst2man.py b/doc/prerst2man.py\r
98 >> index 437dea9..3f85c0c 100644\r
99 >> --- a/doc/prerst2man.py\r
100 >> +++ b/doc/prerst2man.py\r
101 >> @@ -10,7 +10,8 @@ outdir = argv[2]\r
102 >>  if not isdir(outdir):\r
103 >>      makedirs(outdir, 0o755)\r
104 >>\r
105 >> -execfile(sourcedir + "/conf.py")\r
106 >> +filename = sourcedir + "/conf.py"\r
107 >> +exec(compile(open(filename, "rb").read(), filename, 'exec'))\r
108 >>\r
109 >>\r
110 >>  def header(file, startdocname, command, description, authors, section):\r
111 >> --\r
112 >> 2.0.3\r
113 >>\r
114 >> _______________________________________________\r
115 >> notmuch mailing list\r
116 >> notmuch@notmuchmail.org\r
117 >> http://notmuchmail.org/mailman/listinfo/notmuch\r