No attachment made under this Code shall be deemed unlawful, nor shall any person making the same be deemed a trespasser, on account of any defect or want or form in the summons, conviction, writ of attachment or other proceedings relating thereto.