• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

theskumar / python-dotenv / 638 / 2
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2020 07:46PM UTC
Files 0
Run time 18min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jul 2020 07:45PM UTC coverage: 0.0%. Remained the same
TOXENV=manifest

push

travis-ci

bbc2
Fix empty expanded value for duplicate key

Example problematic file:

```bash
hello=hi
greetings=${hello}
goodbye=bye
greetings=${goodbye}
```

It would result in `greetings` being associated with the empty string
instead of `"bye"`.

The problem came from the fact that bindings were converted to a dict,
and so deduplicated by key, before being interpolated.  The dict would
be `{"hello": "hi", "greetings": "${goodbye}", "goodbye": "bye"}` in the
earlier example, which shows why interpolation wouldn't work: `goodbye`
would not be defined when `greetings` was interpolated.

This commit fixes that by passing all values in order, even if there are
duplicated keys.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Source Files on job 638.2 (TOXENV=manifest)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 484
  • Travis Job 638.2
  • 4b434362 on github
  • Prev Job for TOXENV=manifest on master (#627.2)
  • Next Job for TOXENV=manifest on master (#641.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc