Thread (18 messages) flat view 18 messages, 5 authors, 2016-06-15

Re: [PATCH - stgit] Patch to allow import of compressed files

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:44:43

On 2008-06-11 12:28:08 -0500, Clark Williams wrote:
Seems it would just take a try/except block
Yes. The only trick here is to catch the specific type of exception
you want, and nothing else. You can easily try it out at an
interactive Python prompt and just see what type of exception is
thrown.
with logic to make the patchname right (I still would want to remove
a .gz/.bz2 suffix from the patchname).
Indeed. (And now that's a bit more work, since you'll want to ignore
capitalization -- and you can't be sure the suffix is actually there.)
I'll make sure I have tests to go with the next patch.
Excellent!

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help