Opened 4 years ago

Closed 4 years ago

#7873 closed enhancement (fixed)

fix type checks

Reported by: robinson Owned by: atagar
Priority: Low Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

This branch[0] standardizes variable type checks to use isinstance() with or without multiple types. The rest of Stem already uses isinstance(), this just changes the last hold-outs.

[0]:https://gitorious.org/stem-robinson/stem-robinson/commits/fix-type-checks

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by atagar

  • Resolution set to fixed
  • Status changed from new to closed

Neat, I didn't know that you could give isinstance() a tuple. Pushed.

Note: See TracTickets for help on using tickets.