#4549 NORM Never A: Need a way to generate a journal object file name

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 30 19:24:57 EDT 2007


#4549: Need a way to generate a journal object file name
--------------------+-------------------------------------------------------
 Reporter:  uwog    |       Owner:  marco         
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  Never Assigned
Component:  sugar   |     Version:                
 Keywords:          |    Verified:  0             
--------------------+-------------------------------------------------------
 From activity.py:

 file_path = os.path.join(self.get_activity_root(), 'data',
                                          '%i' % time.time())

 I stole this code for use in Write so I can generate filenames for
 "exported" files. It would be nice if we had an (activity) utility
 function for this.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4549>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list