Commit 8015574b6e3638e261930e84552668186e555645

Thomas de Grivel 2018-06-05T11:46:03

fix redefinitions

diff --git a/repo.lisp b/repo.lisp
index 74ef469..235e0b5 100644
--- a/repo.lisp
+++ b/repo.lisp
@@ -333,7 +333,7 @@
 
 (defclass github-repo (git-repo) ())
 
-(defmethod print-object ((obj repo) stream)
+(defmethod print-object ((obj github-repo) stream)
   (print-unreadable-object (obj stream :type t :identity t)
     (with-slots (dir name local-dir packages) obj
       (format stream "~A/~A ~S ~S" dir name local-dir packages))))
@@ -595,9 +595,6 @@
       (install (manifest-or-die x))
       (install (repo-or-die x))))
 
-(defmethod install ((x symbol))
-  (install (symbol-name x)))
-
 (defmethod install ((x null))
   nil)