← Back to team overview

harvest-dev team mailing list archive

[Bug 656219] [NEW] move imports to top of the file

 

Public bug reported:

<spike> all imports should go at the top of the file, not inside
functions. golden rule is fail fast. if your app depends on some libs
that are not installed it should tell the user right away, not do work
and possibly fail later mid way some job

** Affects: harvest
     Importance: Medium
         Status: Triaged


** Tags: bitesize

** Changed in: harvest
   Importance: Undecided => Medium

** Changed in: harvest
       Status: New => Triaged

-- 
move imports to top of the file
https://bugs.launchpad.net/bugs/656219
You received this bug notification because you are a member of harvest-
dev, which is the registrant for harvest.

Status in Harvest Service: Triaged

Bug description:
<spike> all imports should go at the top of the file, not inside functions. golden rule is fail fast. if your app depends on some libs that are not installed it should tell the user right away, not do work and possibly fail later mid way some job





Follow ups

References