Обсуждение: fix keyerror problems

Поиск
Список
Период
Сортировка

fix keyerror problems

От
Dave Cramer
Дата:
See attached patch


Dave Cramer
Вложения

Re: fix keyerror problems

От
Harshal Dhumal
Дата:
how about this....?

default_path = (
                config.DEFAULT_BINARY_PATHS.get(st.stype, "")
             )




On Sat, Aug 26, 2017 at 12:24 AM, Dave Cramer <davecramer@gmail.com> wrote:
See attached patch


Dave Cramer

Re: fix keyerror problems

От
Dave Cramer
Дата:
Even better.

I'm a python noob so help me out!

Dave Cramer

On 25 August 2017 at 15:17, Harshal Dhumal <harshaldhumal15@gmail.com> wrote:
how about this....?

default_path = (
                config.DEFAULT_BINARY_PATHS.get(st.stype, "")
             )




On Sat, Aug 26, 2017 at 12:24 AM, Dave Cramer <davecramer@gmail.com> wrote:
See attached patch


Dave Cramer


Re: fix keyerror problems

От
Ashesh Vashi
Дата:

On Sat, Aug 26, 2017 at 12:24 AM, Dave Cramer <davecramer@gmail.com> wrote:
See attached patch
I have already committed a patch for the same.

But - improved the syntax as per Harshal's suggestion.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi



Dave Cramer