Did I find the right examples for you? yes no

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)
convert seconds to human time

src/g/m/gmvault-HEAD/src/sandbox/common_gmvault.py   gmvault(Download)
                            elapsed = timer.elapsed() #elapsed time in seconds
                            LOG.critical("\n== Processed %d emails in %s. %d left to be stored (time estimate %s).==\n" % \
                                         (nb_chats_processed,  timer.seconds_to_human_time(elapsed), \
                                          left_emails, \
                                          timer.estimate_time_left(nb_chats_processed, elapsed, left_emails)))
            imap_ids = []    
 
        LOG.critical("\nChats synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
        return imap_ids
 
                        LOG.critical("\n== Processed %d emails in %s. %d left to be stored (time estimate %s).==\n" % \
                                     (nb_emails_processed,  \
                                      timer.seconds_to_human_time(elapsed), left_emails, \
                                      timer.estimate_time_left(nb_emails_processed, elapsed, left_emails)))
 
            self.error_report['empty'].append((the_id, None))
 
        LOG.critical("\nEmails synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
 
        return imap_ids
                LOG.critical("\n== Processed %d chats in %s. %d left to be restored "\
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 

src/g/m/gmvault-HEAD/src/gmv/gmvault.py   gmvault(Download)
            imap_ids = []    
 
        LOG.critical("\nchats synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
 
        return imap_ids
        imap_ids = self._common_sync(timer, "email", imap_req, compress, restart)
 
        LOG.critical("\nEmails synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
 
        return imap_ids
                LOG.critical("\n== Processed %d chats in %s. %d left to be restored "\
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
                LOG.critical("\n== Processed %d emails in %s. %d left to be restored "\
                             "(time estimate %s). ==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault.py   gmvault(Download)
            imap_ids = []    
 
        LOG.critical("\nchats synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
 
        return imap_ids
        imap_ids = self._common_sync(timer, "email", imap_req, compress, restart)
 
        LOG.critical("\nEmails synchronisation operation performed in %s.\n" % (timer.seconds_to_human_time(timer.elapsed())))
 
        return imap_ids
                LOG.critical("\n== Processed %d chats in %s. %d left to be restored "\
                             "(time estimate %s).==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 
                LOG.critical("\n== Processed %d emails in %s. %d left to be restored "\
                             "(time estimate %s). ==\n" % \
                             (nb_emails_restored, timer.seconds_to_human_time(elapsed), \
                              left_emails, timer.estimate_time_left(nb_emails_restored, elapsed, left_emails)))
 

src/g/m/gmvault-HEAD/src/gmv/gmvault_export.py   gmvault(Download)
                elapsed = timer.elapsed()
                LOG.critical("== Processed %d %s in %s, %d left (time estimate %s). ==\n" % \
                    (done, kind, timer.seconds_to_human_time(elapsed), \
                     left, timer.estimate_time_left(done, elapsed, left)))
 

src/g/m/gmvault-1.8.1-beta/src/gmv/gmvault_export.py   gmvault(Download)
                elapsed = timer.elapsed()
                LOG.critical("== Processed %d %s in %s, %d left (time estimate %s). ==\n" % \
                    (done, kind, timer.seconds_to_human_time(elapsed), \
                     left, timer.estimate_time_left(done, elapsed, left)))