← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 665050] Re: Updating the list of modules should ignore hidden files

 

If we start making exceptions like this we have to make it consistent for all systems: dot-directories are not hidden on windows, should we ignore them? Think of OSX and its resource forks, etc.
Seriously, this is a minor debugging message and writing additional system-dependent code is really overkill for such a negligible annoyance.  (OpenERP won't ever try to load anything that doesn't have a module descriptor)

We should focus on removing code from the server, not bloating it
more...

Thanks for the suggestion, though ! :-)

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Opinion

-- 
Updating the list of modules should ignore hidden files
https://bugs.launchpad.net/bugs/665050
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Server: Opinion

Bug description:
I the current trunk, when updating the list of modules with logging set to DEBUG I get:
[2010-10-22 12:35:02,323][trunk] DEBUG:addons:The module .bzr does not contain a description file:__openerp__.py or __terp__.py (deprecated)
Which indicates that the server tried to load a module from the directory ".bzr".
Of course it should have ignored it instead, as well as any other hidden directory (windows) or dot-directory (windows and unix).
Lionel





References