> On March 28, 2014, 4:59 p.m., Mark Michelson wrote: > > ./asterisk/trunk/lib/python/asterisk/pluggable_modules.py, lines 330-331 > > <https://reviewboard.asterisk.org/r/3313/diff/3/?file=56734#file56734line330> > > > > I think if you use shutil.move2 instead of shutil.move, you won't have > > to call os.utime on the destination file. shutil.move2 moves the file > > contents and also updates file metadata. > > > > You might want to give it a test just to be certain though.
shutil.move2() didn't seem to work for some reason. I couldn't even find anything on the internet for it. Let me know if you can think of a way to implement it and I'll get on it. - Scott ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3313/#review11432 ----------------------------------------------------------- On March 28, 2014, 6:28 p.m., Scott Emidy wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviewboard.asterisk.org/r/3313/ > ----------------------------------------------------------- > > (Updated March 28, 2014, 6:28 p.m.) > > > Review request for Asterisk Developers. > > > Bugs: ASTERISK-23217 > https://issues.asterisk.org/jira/browse/ASTERISK-23217 > > > Repository: testsuite > > > Description > ------- > > This test uses the Pluggable Module Framework in order to convert a YAML > configuration into an executable Call File by putting it into the correct > directory, which is the 'astspooldir' directory. > > > Diffs > ----- > > ./asterisk/trunk/tests/pbx/tests.yaml 4726 > ./asterisk/trunk/tests/pbx/create_call_files/test-config.yaml PRE-CREATION > ./asterisk/trunk/tests/pbx/create_call_files/configs/ast1/extensions.conf > PRE-CREATION > ./asterisk/trunk/sample-yaml/callfiles-config.yaml.sample PRE-CREATION > ./asterisk/trunk/lib/python/asterisk/pluggable_modules.py 4726 > > Diff: https://reviewboard.asterisk.org/r/3313/diff/ > > > Testing > ------- > > > Thanks, > > Scott Emidy > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev