backout c084008baf54 for busting home panel add-ons (bug 1178703)

This commit is contained in:
Sebastian Kaspari
2015-07-03 17:02:59 +02:00
parent e1ac8eb1f3
commit f496436d41
2 changed files with 7 additions and 7 deletions

View File

@@ -251,7 +251,7 @@ function removeSnippet(snippetId) {
function writeStat(snippetId, timestamp) {
let data = gEncoder.encode(snippetId + "," + timestamp + ";");
Task.spawn(function* () {
Task.spawn(function() {
try {
let file = yield OS.File.open(gStatsPath, { append: true, write: true });
try {