Skip to content

session object not being sent through appropriately #192

Closed

Description

@brettcannon
2019-09-23T18:02:34.196871+00:00 app[web.1]:   File "/app/bedevere/bpo.py", line 81, in removed_label

2019-09-23T18:02:34.196873+00:00 app[web.1]:     await set_status(event, gh)

2019-09-23T18:02:34.196885+00:00 app[web.1]:   File "/app/bedevere/bpo.py", line 40, in set_status

2019-09-23T18:02:34.196901+00:00 app[web.1]:     issue_number_on_bpo = await _validate_issue_number(issue_number, session=session)

2019-09-23T18:02:34.196905+00:00 app[web.1]:   File "/app/bedevere/bpo.py", line 178, in _validate_issue_number

2019-09-23T18:02:34.196906+00:00 app[web.1]:     async with session.head(url) as res:

2019-09-23T18:02:34.196936+00:00 app[web.1]: AttributeError: 'NoneType' object has no attribute 'head'

Activity

  1. lysnikolaou commented on Sep 23, 2019

    @lysnikolaou
    Member

    This is a bug, I introduced in #159. I'll push a fix ASAP. Sorry!

  2. brettcannon commented on Sep 23, 2019

    @brettcannon
    MemberAuthor

    @lysnikolaou it happens. 😄 Key thing is to figure out what testing didn't pick it up.

    And when you say, "ASAP", do you mean today or later than that? I can try to get a fix out today if you don't have the time.

  3. lysnikolaou commented on Sep 23, 2019

    @lysnikolaou
    Member

    @brettcannon I could probably have something ready in 5-6 hours, I'm not 100% sure though.

  4. brettcannon commented on Sep 23, 2019

    @brettcannon
    MemberAuthor

    @lysnikolaou OK, make sure to check this issue before you start to see if I left a message that I have started doing the work and I'll do the same. That way no one wastes their time and while still prioritizing getting a fix out.

  5. brettcannon commented on Sep 23, 2019

    @brettcannon
    MemberAuthor

    I'm working on a fix.

  6. added a commit that references this issue on Sep 23, 2019
    9600ae1
  7. added a commit that references this issue on Sep 23, 2019
    22f61fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions