浏览代码

Mirror fix

Unknown 11 年之前
父节点
当前提交
bbd38829eb
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      modules/base/conf.go
  2. 1 1
      routers/repo/single.go

+ 0 - 1
modules/base/conf.go

@@ -167,7 +167,6 @@ func init() {
 			os.Exit(2)
 			os.Exit(2)
 		}
 		}
 	}
 	}
-	Cfg.BlockMode = false
 
 
 	AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service")
 	AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service")
 	AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")
 	AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")

+ 1 - 1
routers/repo/single.go

@@ -138,7 +138,7 @@ func Single(ctx *middleware.Context, params martini.Params) {
 		}
 		}
 	}
 	}
 
 
-	fmt.Println(Paths)
+	log.Trace("repo.Single: Paths: %s", strings.Join(Paths, ", "))
 
 
 	ctx.Data["Paths"] = Paths
 	ctx.Data["Paths"] = Paths
 	ctx.Data["Treenames"] = treenames
 	ctx.Data["Treenames"] = treenames