Commits

juster committed fd55e58

Remove debugging messages.

  • Participants
  • Parent commits 3e5c5bc

Comments (0)

Files changed (3)

 }
 
 func (aur *AURCache) Fetch(pkgname string) ([]string, FetchError) {
-	fmt.Printf("DBG: fetching %s from AUR\n", pkgname)
 	srcpath, err := aur.downloadNewer(pkgname)
 	if err != nil {
 		return nil, FetchErrorWrap(pkgname, err)
 }
 
 func (pf *PacmanFetcher) Fetch(pkgname string) ([]string, FetchError) {
-	fmt.Printf("DBG: Fetching %s from Pacman fetcher\n", pkgname)
 	urltext, err := pf.findPackageUrl(pkgname)
 	if err != nil {
 		return nil, err
 	}
 
-	fmt.Printf("DBG: Package url: %s\n", urltext)
-	
 	url, oserr := http.ParseURL(urltext)
 	if oserr != nil {
 		return nil, FetchErrorWrap(pkgname, oserr)
 	if sudouser == nil {
 		return pathfile, nil
 	}
-	tmpfile.Chown(sudouser.Uid, sudouser.Gid)
+	tmpfile.Chown(sudouser.Uid, sudouser)
 	return pathfile, nil
 }