<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 2:34 PM, Chris Behrens <span dir="ltr"><<a href="mailto:cbehrens@codestud.com" target="_blank">cbehrens@codestud.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
On Nov 13, 2013, at 6:55 PM, Robert Collins <<a href="mailto:robertc@robertcollins.net">robertc@robertcollins.net</a>> wrote:<br>
<br>
> On 14 November 2013 15:28, Chris Behrens <<a href="mailto:cbehrens@codestud.com">cbehrens@codestud.com</a>> wrote:<br>
>> For this example, I'd look at using parens on the left side to see if that helps. I also, like Sean, really dislike the look of \.<br>
><br>
> I dislike \ most of the time too :).<br>
><br>
<br>
</div>:)<br>
<div class="im"><br>
><br>
>>>> (foo, bar, baz =<br>
> File "<stdin>", line 1<br>
> (foo, bar, baz =<br>
> ^<br>
> SyntaxError: invalid syntax<br>
<br>
</div>Right. I was thinking something like this:<br>
<br>
(folder_exists, file_exists,<br>
file_size_in_kb, disk_extents) = self._path_file_exists(ds_browser,<br>
folder_path,<br>
file_name)<br>
<br></blockquote><div><br></div><div>I've split the line in situations like this in the past to remove backslashes in Nova.<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">foo = self._path_file_exists(ds_</span><span style="font-family:arial,sans-serif;font-size:13px">browser,</span><span style="font-family:arial,sans-serif;font-size:13px"> folder_path,</span><span style="font-family:arial,sans-serif;font-size:13px"> file_name)</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px">folder_exists, file_exists,</span><span style="font-family:arial,sans-serif;font-size:13px"> file_size_in_kb, disk_extents = foo</span></div></div><div>
<br></div><div>There should always be a way to avoid backslashes.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Or something similar.<br>
<span class=""><font color="#888888"><br>
- Chris<br>
</font></span><div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><b>Intel SSG/STO/DCST/CIT</b></div>
<div>880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai,
China<br></div>
<div>+862161166500</div></div>
</div></div>