It looks like the file gluon/compileapp.py has this:
def remove_compiled_application(folder):
try:
path=os.path.join(folder,'compiled/')
for file in listdir(path): os.unlink(os.path.join(path,file))
os.rmdir(path)
except OSError: pass
might be changed to:
def remove_compiled_application(folder):
try:
path=os.path.join(folder,'compiled/')
for file in listdir(path): os.unlink(os.path.join(path,file))
os.rmdir(path)
path=os.path.join(folder,'controllers/')
for file in os.listdir(path):
os.unlink(os.path.join(path,file)) if file[-4:] == '.pyc' else ''
except OSError: pass
Massimo??
-wj
On Thu, Jan 22, 2009 at 11:00 AM, Markus Gritsch <[email protected]> wrote:
>
> On Thu, Jan 22, 2009 at 6:58 PM, Wes James <[email protected]> wrote:
>>
>> I just tried it. You are right. I guess it takes a manual:
>>
>> find . -name "*.pyc" -exec rm -f {} \; -print
>
> Yes, but that's not the point. web2py should IMO delete them when
> clicking on remove compiled.
>
> Markus
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---